/* CLIOWE brand site — 2026 */
:root {
  --bg: #07060c;
  --navy: #10131d;
  --panel: rgba(16, 19, 29, 0.82);
  --ink: #f4eedc;
  --muted: #b9ae93;
  --line: rgba(212, 175, 55, 0.18);
  --line-strong: rgba(212, 175, 55, 0.4);
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --gold-dim: rgba(212, 175, 55, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --font-display: "Cinzel", "Palatino Linotype", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --radius: 18px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4.5rem;
  background: var(--gold);
  color: #1a1406;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(800px 480px at 82% -8%, rgba(212, 175, 55, 0.14), transparent 60%),
    radial-gradient(700px 520px at -10% 20%, rgba(30, 42, 80, 0.45), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(212, 175, 55, 0.06), transparent 55%),
    var(--bg);
}
.backdrop::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 28%, #000 16%, transparent 72%);
  animation: grid-shift 48s linear infinite;
}
.backdrop::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 7rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 68%);
  filter: blur(6px);
  animation: pulse 9s ease-in-out infinite;
}
@keyframes grid-shift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-64px, -64px, 0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.06); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff6d6; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 2.6rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 6, 12, 0.8);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  line-height: 1.3;
}
.brand:hover { color: var(--gold-2); }
.brand img { width: 30px; height: 30px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}
.nav-links a:hover { color: var(--ink); background: var(--gold-dim); }

.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--gold-dim); border-color: var(--gold); }
.nav-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  min-width: 13rem;
  background: #12141e;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.nav-menu a {
  display: block;
  color: var(--ink);
  padding: 0.65rem 0.8rem;
  border-radius: 9px;
  font-weight: 500;
  line-height: 1.4;
}
.nav-menu a:hover { background: var(--gold-dim); color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--gold);
  color: #1a1406;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 10px 30px rgba(212, 175, 55, 0.16);
}
.btn-primary:hover {
  color: #1a1406;
  background: var(--gold-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold-dim);
}
.nav .btn { padding: 0.48rem 0.95rem; font-size: 0.88rem; }

.hero {
  padding: 6.4rem 0 5.6rem;
  text-align: center;
  position: relative;
}
.hero > * { animation: rise 0.85s ease both; }
.hero .mark { animation-delay: 0.05s; }
.hero .kicker { animation-delay: 0.12s; }
.hero h1 { animation-delay: 0.18s; }
.hero .tagline { animation-delay: 0.28s; }
.hero .hero-actions { animation-delay: 0.38s; }

.mark {
  width: 108px;
  height: 108px;
  margin: 0 auto 1.7rem;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0 0 1.15rem;
  overflow: visible;
}
.kicker::before, .kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-strong);
}

h1, h2, h3, .tagline, .kicker, .section-label { overflow: visible; }

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: clamp(2.3rem, 8vw, 5.4rem);
  line-height: 1.14;
  padding: 0.08em 0 0.12em;
  margin: 0 auto 0.9rem;
  max-width: 100%;
}
.tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.12rem, 2.4vw, 1.55rem);
  letter-spacing: 0.01em;
  line-height: 1.55;
  padding: 0.14em 0 0.2em;
  color: var(--ink);
  max-width: 20em;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

section { padding: 1.4rem 0 5rem; }
.section-head { margin-bottom: 1.7rem; }
.section-label {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0 0 0.8rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.35;
  padding-bottom: 0.14em;
  margin: 0;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  padding-bottom: 0.1em;
  margin: 0 0 0.5rem;
}
.about-copy {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.card, .work-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.4rem 1.65rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover, .work-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.08);
}
.card p, .work-card p, .steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.5rem 1.4rem 1.65rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps li:nth-child(2n) { border-right: 0; }
.steps li:nth-last-child(-n+2) { border-bottom: 0; }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--gold-2);
  line-height: 1.5;
  padding-top: 0.2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.platform-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.cta { padding-bottom: 5.4rem; }
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.8rem 1.8rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(16, 19, 29, 0.5));
}
.cta-panel h2 { margin-bottom: 0.6rem; }
.cta-panel p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.65;
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.9rem 0 2.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem 1.6rem;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  font-size: 0.85rem;
}
.footer-brand:hover { color: var(--gold-2); }
.footer-copy { margin: 0; justify-self: center; }
.footer-sister, .footer-platforms { margin: 0; }
.footer-sister a, .footer-platforms a { color: var(--muted); }
.footer-sister a:hover, .footer-platforms a:hover { color: var(--gold-2); }

@media (max-width: 900px) {
  .cards, .work-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .steps li { border-right: 0; }
  .steps li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .nav-desktop, .nav-cta { display: none; }
  .nav-menu { display: block; }
  .hero { padding: 4.2rem 0 3.8rem; }
  .footer-grid { justify-items: start; gap: 0.45rem; }
  .footer-copy { justify-self: start; }
}
@media (max-width: 430px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  h1 { font-size: 2.2rem; letter-spacing: 0.12em; }
  .tagline { font-size: 1.1rem; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-panel { padding: 1.8rem 1.15rem; }
  section { padding: 1rem 0 3.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .backdrop::before, .backdrop::after, .hero > * { animation: none; opacity: 1; transform: none; }
  .card, .work-card, .btn { transition: none; }
}
