:root {
  --bg: #f6f7f7;
  --surface: #ffffff;
  --surface-soft: #eceff0;
  --surface-strong: #17191c;
  --text: #121416;
  --muted: #5c636b;
  --muted-on-dark: #cdd2d6;
  --line: rgba(18, 20, 22, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.2);
  --accent: #c8952d;
  --accent-dark: #8d6417;
  --accent-red: #9f1823;
  --max-width: 1120px;
  --shadow: 0 18px 45px rgba(18, 20, 22, 0.12);
  --shadow-soft: 0 10px 28px rgba(18, 20, 22, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 520px),
    var(--bg);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-red);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.55rem 0.75rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(18, 20, 22, 0.1);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before,
.footer-brand::before {
  content: "";
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background:
    #ffffff url("logo.png") center 23% / 230px auto no-repeat;
  box-shadow: inset 0 0 0 1px rgba(18, 20, 22, 0.08);
}

.brand-logo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.brand span {
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
}

.nav a {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0 72px;
  color: #ffffff;
  background: var(--surface-strong);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.78) 48%, rgba(10, 11, 13, 0.35)),
    url("hero_band.jpeg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line-on-dark);
}

.hero-home::before {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.76) 50%, rgba(10, 11, 13, 0.28)),
    url("hero_band.jpeg") center / cover no-repeat;
}

.hero-apps::before,
.hero-handball::before {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.78) 50%, rgba(10, 11, 13, 0.32)),
    url("apps_cover.jpeg") center / cover no-repeat;
}

.hero-legal::before {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.8) 52%, rgba(10, 11, 13, 0.36)),
    url("consulting_cover.jpeg") center / cover no-repeat;
}

.hero-support::before {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.78) 52%, rgba(10, 11, 13, 0.36)),
    url("about_cover.jpeg") center / cover no-repeat;
}

.hero-pyramid::before {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.78) 52%, rgba(10, 11, 13, 0.34)),
    url("career_cover.jpeg") center / cover no-repeat;
}

.hero-gotik::before {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.78) 52%, rgba(10, 11, 13, 0.36)),
    url("about_cover.jpeg") center / cover no-repeat;
}

.hero-photogpt::before {
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.98), rgba(4, 28, 33, 0.84) 50%, rgba(72, 20, 28, 0.38)),
    linear-gradient(135deg, rgba(0, 230, 210, 0.18), rgba(255, 82, 60, 0.12)),
    url("hero_band.jpeg") center / cover no-repeat;
}

.hero-tarot::before {
  background:
    linear-gradient(90deg, rgba(24, 18, 12, 0.94), rgba(84, 57, 30, 0.78) 52%, rgba(202, 162, 83, 0.3)),
    linear-gradient(135deg, rgba(255, 236, 190, 0.18), rgba(142, 100, 23, 0.14)),
    url("consulting_cover.jpeg") center / cover no-repeat;
}

.hero.compact {
  padding: 62px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 780px;
}

.hero-copy > p:last-child {
  margin-bottom: 0;
}

.hero-media {
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line-on-dark);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: 4rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 760px;
  color: var(--muted-on-dark);
  font-size: 1.22rem;
  line-height: 1.55;
}

.section {
  padding: 64px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.card {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid rgba(18, 20, 22, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  overflow: hidden;
}

.app-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 1.35rem 1.35rem;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 20, 22, 0.1);
  background: #111315;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.app-card:hover .card-media img {
  transform: scale(1.035);
}

.app-kicker {
  margin-bottom: 0.35rem;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-card h3,
.app-card h2 {
  margin-bottom: 0.45rem;
}

.app-card .card-actions {
  margin-top: auto;
}

.meta-list,
.link-list,
.plain-list {
  margin: 0;
  padding-left: 1.1rem;
}

.meta-list li,
.link-list li,
.plain-list li {
  margin: 0.42rem 0;
}

.link-list a {
  font-weight: 650;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem;
  border: 1px solid rgba(18, 20, 22, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-weight: 650;
}

.actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #111315;
  background: var(--accent);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 9px 18px rgba(200, 149, 45, 0.22);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button.light {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
  box-shadow: none;
}

.button:hover {
  color: #111315;
  border-color: #d7a548;
  background: #d7a548;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(200, 149, 45, 0.26);
}

.button.secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.button.light:hover {
  color: var(--text);
  border-color: var(--accent);
  background: #fffaf0;
  box-shadow: none;
}

.info-band {
  padding: 1.35rem;
  border: 1px solid rgba(18, 20, 22, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f0f2f3);
  box-shadow: var(--shadow-soft);
}

.legal-document {
  max-width: 880px;
}

.legal-document h2 {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.document-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  margin: 1.5rem 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.document-meta p {
  margin: 0;
}

.hero .document-meta {
  border-color: var(--line-on-dark);
  background: rgba(255, 255, 255, 0.08);
}

.hero .document-meta a {
  color: #ffffff;
}

.small {
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer {
  padding: 42px 0;
  color: #d5d9dc;
  background: #111315;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr 0.9fr;
  gap: 1.5rem;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-grid a {
  color: #d5d9dc;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.footer-nav {
  display: grid;
  gap: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
}

@media (min-width: 720px) {
  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-media {
    min-height: 250px;
  }

  .hero-media img {
    min-height: 250px;
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .brand::before,
  .footer-brand::before {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    background-size: 210px auto;
  }

  .nav {
    justify-content: flex-start;
    gap: 0.25rem 0.72rem;
  }

  .nav a {
    font-size: 0.92rem;
  }

  .hero,
  .hero.compact {
    padding: 46px 0 40px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .document-meta {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
