@font-face {
  font-family: "Bernier";
  src: url("assets/bernier-distressed.otf") format("opentype");
  font-display: swap;
}

:root {
  --black: #050505;
  --ink: #0b0b0c;
  --panel: #111214;
  --panel-2: #17181b;
  --line: #2b2d31;
  --white: #f5f5f2;
  --muted: #a5a6a8;
  --accent: #deded8;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(5,5,5,.9);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-family: Bernier, Impact, sans-serif; font-size: 1.2rem; letter-spacing: .06em; line-height: 1; }
.brand-place { display: block; margin-top: 5px; color: var(--muted); font-family: inherit; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #d7d7d4; font-size: .9rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: #fff; margin-top: 5px; }
.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-toggle button { border: 0; color: var(--muted); background: transparent; padding: 6px 9px; border-radius: 999px; font-size: .76rem; font-weight: 800; cursor: pointer; }
.lang-toggle button.active { color: #070707; background: #f2f2ee; }
.menu-toggle { display: none; border: 1px solid var(--line); color: #fff; background: transparent; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }

.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 47%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, #050505 0%, transparent 45%), url("assets/hero-group-v2.webp");
  background-size: cover;
  background-position: center;
}
.hero-inner { padding: 96px 0 74px; max-width: 720px; }
.eyebrow { color: #c2c2bd; text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 800; }
.hero-logo { width: clamp(120px, 16vw, 190px); filter: drop-shadow(0 12px 24px rgba(0,0,0,.5)); margin-bottom: 20px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, .display { font-family: Bernier, Impact, sans-serif; text-transform: uppercase; letter-spacing: .025em; }
h1 { font-size: clamp(3.15rem, 8vw, 7rem); line-height: .86; max-width: 850px; }
.hero-slogan { margin: 24px 0 32px; font-size: clamp(1.05rem, 2.1vw, 1.42rem); color: #ededeb; letter-spacing: .03em; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid #e9e9e4; font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; transition: .2s ease; }
.button.primary { background: #f1f1ed; color: #080808; }
.button:hover { transform: translateY(-2px); background: #fff; color: #080808; }

.section { padding: clamp(74px, 9vw, 128px) 0; border-bottom: 1px solid var(--line); }
.section.soft { background: var(--ink); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; margin-bottom: 56px; align-items: end; }
.section-heading h2, .page-title { font-family: Bernier, Impact, sans-serif; text-transform: uppercase; line-height: .95; font-size: clamp(2.55rem, 5.8vw, 5rem); }
.section-heading p { color: var(--muted); margin: 0; max-width: 640px; font-size: 1.05rem; }
.kicker { display: block; color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; margin-bottom: 14px; }
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.story-copy p { color: #c6c6c3; font-size: 1.08rem; margin: 0 0 20px; }
.fact-block { padding: 28px 0; border-top: 1px solid var(--line); }
.fact-block:last-child { border-bottom: 1px solid var(--line); }
.fact-number { font-family: Bernier, Impact, sans-serif; font-size: 3rem; line-height: 1; }
.fact-label { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 800; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { min-height: 210px; padding: 28px; background: var(--panel); display: flex; flex-direction: column; justify-content: space-between; }
.value-index { color: #777; font-size: .72rem; letter-spacing: .15em; }
.value h3 { font-family: Bernier, Impact, sans-serif; font-size: 1.75rem; line-height: 1.05; }

.signs { display: grid; grid-template-columns: 1.65fr .85fr .85fr; gap: 18px; align-items: stretch; }
.sign-card { background: var(--panel); border: 1px solid var(--line); padding: 30px; min-height: 420px; display: flex; flex-direction: column; }
.sign-card.primary { background: #eee; color: #090909; }
.sign-visual { flex: 1; display: grid; place-items: center; min-height: 230px; }
.sign-visual img { max-height: 245px; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 25px rgba(0,0,0,.25)); }
.sign-card.primary .sign-visual { min-height: 310px; }
.sign-card.primary .sign-visual img { max-height: 320px; }
.sign-card h3 { font-family: Bernier, Impact, sans-serif; font-size: 1.85rem; }
.sign-card p { color: var(--muted); margin: 9px 0 0; font-size: .91rem; }
.sign-card.primary p { color: #4a4a47; }

.event-teaser { border: 1px solid #484a4d; padding: clamp(34px, 6vw, 72px); background: linear-gradient(120deg, #161719, #090909); position: relative; overflow: hidden; }
.event-teaser::after { content: "2026"; position: absolute; right: -10px; bottom: -55px; color: rgba(255,255,255,.035); font-family: Bernier, Impact, sans-serif; font-size: clamp(8rem, 25vw, 18rem); line-height: 1; }
.event-teaser h2 { font-family: Bernier, Impact, sans-serif; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; position: relative; z-index: 1; }
.event-teaser p { color: #bdbdb9; max-width: 570px; position: relative; z-index: 1; }

.instagram-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.instagram-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: #111; border: 1px solid var(--line); }
.instagram-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.instagram-tile::after { content: "Instagram ↗"; position: absolute; inset: auto 0 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.88)); color: #fff; font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .2s ease; }
.instagram-tile:hover img { transform: scale(1.035); filter: brightness(.72); }
.instagram-tile:hover::after { opacity: 1; }
.instagram-cta { margin-top: 24px; }

.page-hero { padding: clamp(75px, 10vw, 140px) 0 70px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 10%, #222326 0, #0b0b0c 30%, #050505 66%); }
.page-title { max-width: 900px; }
.page-lead { color: var(--muted); max-width: 660px; margin: 22px 0 0; font-size: 1.08rem; }
.page-lead + .button-row { margin-top: 28px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.timeline-item { padding: 34px 32px 10px 0; }
.timeline-year { font-family: Bernier, Impact, sans-serif; font-size: 3.5rem; line-height: 1; }
.timeline-item h3 { margin: 15px 0 9px; font-size: 1.08rem; }
.timeline-item p { color: var(--muted); margin: 0; }

.members-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member-card { background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.member-photo { aspect-ratio: 4/5; overflow: hidden; background: #080808; border-bottom: 1px solid var(--line); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo.logo-placeholder { display: grid; place-items: center; padding: 58px; background: radial-gradient(circle at 50% 35%, #242528 0, #0d0e0f 58%); }
.member-photo.logo-placeholder img { object-fit: contain; opacity: .86; filter: grayscale(1); }
.member-card.ivan .member-photo img { object-position: 67% 31%; }
.member-info { padding: 20px 22px 22px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.member-name { font-family: Bernier, Impact, sans-serif; font-size: 1.75rem; line-height: 1; }
.member-role { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .11em; margin-top: 8px; }
.badge { border: 1px solid #55575b; color: #d4d4cf; padding: 5px 8px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.group-label { margin: 64px 0 24px; display: flex; gap: 18px; align-items: center; color: #c4c4c0; text-transform: uppercase; letter-spacing: .15em; font-size: .74rem; font-weight: 800; }
.group-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.members-grid.club-pet { grid-template-columns: minmax(260px, 380px); }

.friend-list { border-top: 1px solid var(--line); }
.friend-link { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 30px 2px; border-bottom: 1px solid var(--line); }
.friend-link strong { font-family: Bernier, Impact, sans-serif; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 400; }
.friend-link span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.friend-link:hover span { color: #fff; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.social-stack { display: grid; gap: 10px; margin-top: 28px; }
.social-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 16px 0; font-weight: 750; }
.social-name { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.social-icon { width: 24px; height: 24px; flex: 0 0 24px; fill: currentColor; }
.social-handle { color: var(--muted); font-size: .76rem; }
.social-link:hover .social-name { color: #fff; }
.social-link:hover .social-handle { color: var(--white); }
.form { display: grid; gap: 18px; padding: clamp(24px, 5vw, 48px); background: var(--panel); border: 1px solid var(--line); }
.field { display: grid; gap: 7px; }
.field label { color: #c6c6c3; font-size: .75rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.field input, .field textarea { width: 100%; border: 1px solid #3a3b3f; background: #09090a; color: #fff; padding: 14px 15px; border-radius: 0; min-height: 48px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid #f2f2ee; outline-offset: 2px; }
.form-note { color: var(--muted); font-size: .78rem; margin: 0; }
.form-status { min-height: 24px; color: #e6e6e1; }

.legal { max-width: 780px; }
.legal h2 { font-family: Bernier, Impact, sans-serif; font-size: 2rem; margin-top: 44px; }
.legal p { color: #c3c3bf; }
.draft-note { border: 1px dashed #5a5c60; padding: 18px; color: #c8c8c3; background: #111214; }

.site-footer { padding: 42px 0; background: #030303; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; }
.footer-title { font-family: Bernier, Impact, sans-serif; font-size: 1.35rem; }
.footer-copy { color: #6f7073; font-size: .76rem; margin-top: 5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #a9aaa7; font-size: .78rem; }

@media (max-width: 920px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #070707; border-bottom: 1px solid var(--line); padding: 22px; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .section-heading, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .signs { grid-template-columns: 1fr 1fr; }
  .sign-card.primary { grid-column: 1 / -1; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 26px), var(--max)); }
  .brand-name { font-size: 1rem; }
  .brand-place { display: none; }
  .brand img { width: 50px; height: 50px; }
  .nav { min-height: 68px; gap: 10px; }
  .nav-links { top: 68px; }
  .hero { min-height: 760px; background-position: 55% center; background-image: linear-gradient(0deg, #050505 0%, rgba(0,0,0,.65) 49%, rgba(0,0,0,.15) 100%), url("assets/hero-group-v2.webp"); }
  .hero-inner { padding: 50px 0 52px; }
  .hero-logo { width: 120px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5.3rem); }
  .section { padding: 70px 0; }
  .values, .signs, .members-grid, .timeline { grid-template-columns: 1fr; }
  .members-grid.club-pet { grid-template-columns: 1fr; }
  .instagram-strip { grid-template-columns: repeat(2, 1fr); }
  .instagram-tile:last-child { display: none; }
  .sign-card.primary { grid-column: auto; }
  .timeline-item { border-bottom: 1px solid var(--line); }
  .member-photo.logo-placeholder { padding: 48px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
