/* Kvervandi — minimal dark landing */

:root {
  --bg: #050607;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --muted2: rgba(255, 255, 255, 0.46);
  --accent: #ffffff;
  --title-font: "Cinzel", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 30% 10%, rgba(255,255,255,0.06), transparent 55%),
              radial-gradient(900px 500px at 70% 20%, rgba(120,160,255,0.07), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.45;
}

.wrap {
  min-height: 100%;
  display: block;
  padding: 18px 18px 32px;
}

.card {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.projects {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.project {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  border-radius: 18px;
  padding: 14px;
}

.project h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.86);
  font-family: var(--title-font);
}

.project p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.project .links {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project .links a {
  font-size: 13px;
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
}

.project .links a:hover { background: rgba(255,255,255,0.10); }

.logo {
  display: block;
  padding: 12px; /* mobile breathing room */
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: #000; /* solid black behind logo */
  overflow: hidden;
}

.brand {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
}

.brand .kicker { margin-top: 0; }

.logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain; /* mobile: show full logo without cropping */
  object-position: center;
  filter: none;
}

.copy {
  text-align: center;
  padding: 6px 6px 0;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--muted2);
  font-family: var(--title-font);
}

h1 {
  margin: 10px 0 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.02em;
  font-family: var(--title-font);
}

p {
  margin: 0 auto;
  max-width: 60ch;
  color: var(--muted);
}

.cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
}

.btn:hover {
  background: rgba(255,255,255,0.10);
}

.btn.primary {
  background: rgba(255,255,255,0.92);
  color: #060708;
  border-color: rgba(255,255,255,0.92);
}

.btn.primary:hover {
  background: #ffffff;
}

.footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: var(--muted2);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--muted2);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.dot { opacity: 0.6; }

@media (min-width: 900px) {
  /* Keep single-column for logo + brand (Option A) */
  .brand { text-align: left; padding: 18px; }
  .logo { padding: 0; }
  /* desktop: allow a tall hero-like logo crop */
  .logo img { height: 720px; max-height: none; object-fit: cover; }
  p { margin-left: 0; }
}
