/* Blackfern Group - one stylesheet for every host.
   Black/dark, smooth and sleek (owner 2026-10-23: "i want smooth coloring i want clean sleek").
   Colours live only in these variables; a division overrides --accent via an inline style on <body>. */
:root {
  --bg-top: #0b0b0d;
  --bg-bottom: #000000;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f2f3;
  --soft: #b4b4ba;
  --muted: #7a7a82;
  --accent: #d8d8dc;
  --radius: 18px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg-bottom); }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font: 400 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 520px at 50% -140px, rgba(255, 255, 255, 0.075), transparent 70%),
    radial-gradient(700px 400px at 85% 10%, rgba(120, 120, 140, 0.06), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 70%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header: translucent glass bar that blends into the page */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 8, 10, 0.55);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: .32em; text-transform: uppercase; font-size: 13px; line-height: 1.2; }
.brand small { display: block; margin-top: 3px; font-weight: 500; letter-spacing: .42em; font-size: 9px; color: var(--muted); }
.brand img { height: 34px; display: block; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.nav a { color: var(--soft); padding: 7px 14px; border-radius: 999px; transition: color .25s var(--ease), background .25s var(--ease); }
.nav a:hover { color: var(--text); background: var(--glass-hover); }
.nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }

/* main */
main { flex: 1; padding: 96px 0 110px; }
.hero { text-align: center; max-width: 760px; margin: 0 auto; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 0%, #c9c9cf 55%, #8d8d96 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p { margin: 0 auto; color: var(--soft); font-size: clamp(16px, 2vw, 19px); max-width: 560px; }
.section { margin-top: 80px; }
.section h2 { text-align: center; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 26px; }
.prose { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.prose p { color: var(--soft); font-size: 17px; }
.muted { color: var(--muted); }

/* cards: soft glass with a gentle gradient edge and a smooth lift on hover */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: 20px; }
.card {
  position: relative;
  display: block;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.8);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .arrow { position: absolute; top: 26px; right: 26px; color: var(--muted); transition: transform .35s var(--ease), color .35s var(--ease); }
a.card:hover .arrow { transform: translateX(3px); color: var(--text); }
.card .logo { height: 52px; margin-bottom: 18px; display: flex; align-items: center; }
.card .logo img { max-height: 52px; max-width: 160px; border-radius: 12px; }
.badge {
  display: inline-block; margin-top: 16px;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--soft); background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 5px 12px;
}
.empty {
  max-width: 560px; margin: 0 auto; text-align: center;
  padding: 34px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px dashed var(--line-strong); color: var(--muted);
}

/* venture page */
.venture-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.venture-head img { max-height: 96px; max-width: 240px; border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.venture-head h1 {
  margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 0%, #b9b9c0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.venture-head .badge { margin-top: 8px; }
.button {
  display: inline-block; margin-top: 28px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: #0a0a0a;
  background: linear-gradient(180deg, #ffffff 0%, #d9d9de 100%);
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(255, 255, 255, 0.45); color: #0a0a0a; }

/* contact form */
.contact-form {
  text-align: left; margin: 0 auto; max-width: 640px; padding: 28px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.8);
}
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { display: block; margin-bottom: 16px; }
.contact-form .field span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; color: var(--text);
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.contact-form .button { margin-top: 4px; border: 0; cursor: pointer; }
.contact-form .button:disabled { opacity: .55; cursor: default; transform: none; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: 14px; color: var(--soft); min-height: 1.2em; }
.form-status.ok { color: #9fe0b0; }
.form-status.err { color: #f0a0a0; }
.contact-alt { margin-top: 22px; color: var(--muted); font-size: 14px; }
.contact-alt a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .contact-form .field-row { grid-template-columns: 1fr; gap: 0; } .contact-form { padding: 20px; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  main { padding: 56px 0 72px; }
  .section { margin-top: 56px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .nav a { padding: 6px 10px; }
  .grid { grid-template-columns: 1fr; }
}
