/* Lizard's Game Center - styles */

/* Self-hosted Google Fonts (SIL Open Font License) */
/* big-shoulders-display latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* big-shoulders-display latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* figtree latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* figtree latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* jetbrains-mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* jetbrains-mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: a terrarium at night. A heat-lamp hero with today's live hours, then a feature mosaic, a fixture-board of events, a photo grid and contact rows. Single dark theme by choice. */
/* Airstrike by Iconian Fonts (free for non-commercial use; commercial license: iconian.com/commercial.html) */
@font-face {
  font-family: "Airstrike";
  src: url("../fonts/airstrike.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0A130E;
  --raised: #102018;
  --line: #213A2C;
  --fg: #EAF3EC;
  --muted: #9AB0A2;
  --green: #5BCB6B;
  --green-hi: #78DA86;
  --green-ink: #06200F;
  --lamp: #FFB547;
  --lamp-glow: rgba(255, 170, 60, 0.30);
  --cyan: #22D3EE;
  --pink: #F472B6;
  --off: #6F8577;
  --scale-ink: rgba(130, 210, 150, 0.08);
  --header-bg: rgba(10, 19, 14, 0.86);

  --font-display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --font-airstrike: "Airstrike", "Big Shoulders Display", Impact, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, ui-monospace, monospace;

  --gutter-l: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
}
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.skip {
  position: absolute;
  left: var(--gutter-l);
  top: -100px;
  z-index: 30;
  background: var(--lamp);
  color: var(--green-ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* Scale texture, used on the hero, the 1000 Mbps tile and photo slots */
.scales {
  --s: 28px;
  background-image:
    radial-gradient(circle calc(var(--s) / 2) at 50% 100%, transparent calc(100% - 2px), var(--scale-ink) calc(100% - 1.5px), var(--scale-ink) 100%, transparent 100%),
    radial-gradient(circle calc(var(--s) / 2) at 50% 100%, transparent calc(100% - 2px), var(--scale-ink) calc(100% - 1.5px), var(--scale-ink) 100%, transparent 100%);
  background-size: var(--s) calc(var(--s) / 2);
  background-position: 0 0, calc(var(--s) / 2) calc(var(--s) / 4);
}

/* Labels */
.eyebrow {
  margin: 0;
  font: 600 0.78rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
h1, h2, h3 { text-wrap: balance; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: var(--green-hi); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); }
.btn-sm { min-height: 40px; padding: 0 0.9rem; font-size: 0.9rem; }
.btn .num { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
/* Brand: glowing logo badge + Airstrike wordmark + live open/closed chip */
.brand-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  width: auto;
  height: 42px;
  filter: drop-shadow(0 0 8px rgba(91, 203, 107, 0.45));
  transition: transform 0.3s ease;
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: grid; gap: 5px; }
.brand-text b {
  font: 400 1.3rem/1 var(--font-airstrike);
  text-transform: uppercase;
  color: var(--fg);
}
.brand-text span {
  font: 600 0.58rem/1 var(--font-mono);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green);
}
.brand-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(91, 203, 107, 0.4);
  border-radius: 999px;
  background: rgba(91, 203, 107, 0.08);
  font: 600 0.66rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.brand-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: live-pulse 1.8s ease-out infinite;
}
.is-closed .brand-live { color: var(--lamp); border-color: rgba(255, 181, 71, 0.4); background: rgba(255, 181, 71, 0.08); }
.is-closed .brand-live::before { animation: none; }
@media (max-width: 560px) { .brand-live { display: none; } }
@media (max-width: 360px) { .brand-text span { display: none; } }
.header-right { display: flex; align-items: center; gap: 8px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--fg); background: var(--raised); }
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav {
  border-top: 1px solid var(--line);
}
.mobile-nav .wrap {
  display: grid;
  padding-block: 8px 16px;
}
.mobile-nav a {
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.05rem;
}
.mobile-nav a:last-child { border-bottom: 0; }
@media (max-width: 880px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 881px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 480px) {
  .header-call { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero-texture {
  position: absolute;
  inset: 0;
  z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -35%;
  right: -15%;
  width: min(900px, 95vw);
  aspect-ratio: 1;
  max-width: 100%;
  background: radial-gradient(closest-side, var(--lamp-glow), transparent);
  opacity: 1;
  transition: opacity 1.2s ease;
  animation: lamp-on 1.8s ease-out backwards;
  pointer-events: none;
}
.is-closed .hero::after { opacity: 0.2; }
@keyframes lamp-on {
  0% { opacity: 0; }
  12% { opacity: 0.5; }
  18% { opacity: 0.1; }
  30% { opacity: 0.7; }
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(48px, 8vw, 104px) clamp(44px, 6vw, 80px);
}
.hero-copy { min-width: 0; }
.hero-side { min-width: 0; display: grid; justify-items: center; gap: 28px; }
.hero-side .today { width: 100%; }
.hero .neon-logo { width: clamp(200px, 23vw, 300px); }
.hero h1 {
  margin: 0.45em 0 0;
  font: 400 min(7.5rem, 15.5vw)/0.95 var(--font-airstrike);
  text-transform: uppercase;
}
.hero h1 .sub {
  display: block;
  margin-top: 0.35em;
  font-size: 0.42em;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--green);
}
@media (min-width: 901px) {
  .hero h1 { font-size: min(7.5rem, 8.8vw); }
}
.lead {
  margin: 1.6rem 0 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--muted);
}
.lead strong { color: var(--fg); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Hours card: a minimal terminal window with one big, glowing live status */
.today {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #22382B;
  border-radius: 12px;
  background: #050A07;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.9), 0 0 48px -14px rgba(91, 203, 107, 0.3);
  font: 400 0.9rem/1.5 var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.is-closed .today { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.9), 0 0 48px -14px rgba(255, 181, 71, 0.22); }
.ps-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  background: #0E1A13;
  border-bottom: 1px solid #1B2E23;
}
.ps-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--green);
  color: var(--green-ink);
  font: 700 0.58rem/1 var(--font-mono);
}
.ps-bar h2 { margin: 0; font: 600 0.8rem/1 var(--font-body); color: var(--muted); }
.ps-dots { margin-left: auto; display: flex; gap: 6px; }
.ps-dots i { width: 9px; height: 9px; border-radius: 50%; background: #22382B; }
.ps-body { display: grid; gap: 14px; padding: 18px clamp(16px, 2.6vw, 24px) 20px; }
.ps-body p { margin: 0; }
.ps-line { font-size: 0.8rem; color: var(--muted); }
.ps-prompt { color: var(--green); }
.ps-cmd { color: var(--lamp); }
/* Pulse used by the live chip in the header */
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 203, 107, 0.7); }
  100% { box-shadow: 0 0 0 0.3em rgba(91, 203, 107, 0); }
}
.ps-big {
  display: flex;
  align-items: center;
  gap: 0.14em;
  font: 400 clamp(2.6rem, 4.6vw, 3.6rem)/1 var(--font-airstrike);
  text-transform: uppercase;
  color: var(--green);
  text-shadow: 0 0 2px rgba(91, 203, 107, 0.9), 0 0 22px rgba(91, 203, 107, 0.55);
}
.is-closed .ps-big { color: var(--lamp); text-shadow: 0 0 2px rgba(255, 181, 71, 0.9), 0 0 22px rgba(255, 181, 71, 0.45); }
.ps-cursor {
  flex: none;
  width: 0.42em;
  height: 0.78em;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  animation: ps-blink 1.1s steps(1) infinite;
}
@keyframes ps-blink { 50% { opacity: 0; } }

.ps-sub { margin-top: -4px !important; font-size: 1.05rem; color: var(--fg); }
.ps-sub b { color: var(--cyan); font-weight: 600; }
.ps-progress {
  position: relative;
  height: 12px;
  margin-top: 4px;
  background: repeating-linear-gradient(90deg, #15261C 0 8px, transparent 8px 11px);
}
.ps-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--green), var(--lamp));
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 11px);
  mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 11px);
  transition: width 0.6s ease;
}
.ps-ends { display: flex; justify-content: space-between; margin-top: -8px; font-size: 0.72rem; color: var(--muted); }
.ps-foot { padding-top: 12px; border-top: 1px solid #15261C; font-size: 0.8rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-side { display: contents; }
  .hero .neon-logo { order: -1; justify-self: center; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--raised); border-block: 1px solid var(--line); }
.section > .wrap { display: grid; gap: clamp(32px, 4vw, 52px); }
.section-head { display: grid; gap: 14px; max-width: 760px; }
.section-head.row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px 32px;
}
.section-head.row > div { display: grid; gap: 14px; max-width: 640px; }
.section h2 {
  margin: 0;
  font: 800 clamp(2.6rem, 6vw, 4.4rem)/0.92 var(--font-display);
  text-transform: uppercase;
}
.section-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 1.125rem;
  color: var(--muted);
}

/* Feature mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 4px 8px;
  border-top: 2px solid var(--line);
}
.tile h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.tile p { margin: 0; color: var(--muted); }
.tile .eyebrow { color: var(--muted); }
.tile-big {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  align-content: space-between;
  gap: 28px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: var(--raised);
}
.tile-big::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(91, 203, 107, 0.22), transparent);
  z-index: -1;
}
.tile-big .eyebrow { color: var(--green); }
.mbps {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 12px;
  margin: 0;
  line-height: 0.85;
}
.mbps .n {
  font: 900 clamp(4.2rem, 11vw, 7.5rem)/0.85 var(--font-display);
  color: var(--green);
}
.isp { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.isp li {
  padding: 7px 11px;
  border: 1px solid rgba(91, 203, 107, 0.35);
  border-radius: 999px;
  background: rgba(10, 19, 14, 0.6);
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--fg);
}
.mbps .u {
  font: 600 clamp(1.1rem, 2vw, 1.5rem)/1 var(--font-mono);
  color: var(--fg);
}
.tile-big p.desc { color: var(--fg); font-size: 1.1rem; max-width: 34ch; }
.signal {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 30px;
}
.signal i { width: 7px; border-radius: 2px; background: var(--green); }
.signal i:nth-child(1) { height: 30%; }
.signal i:nth-child(2) { height: 55%; }
.signal i:nth-child(3) { height: 78%; }
.signal i:nth-child(4) { height: 100%; }
.tile-big-foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-big { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 520px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Events board */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: center;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.event-date { display: grid; gap: 4px; font-family: var(--font-mono); }
.event-date .d { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; color: var(--green); }
.event-date .t { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.event-body { min-width: 0; display: grid; gap: 6px; }
.event-game {
  margin: 0;
  font: 600 0.75rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.event h3 {
  margin: 0;
  font: 800 clamp(1.7rem, 3.2vw, 2.3rem)/1 var(--font-display);
  text-transform: uppercase;
}
.event-body p:last-child { margin: 0; color: var(--muted); }
.tag {
  justify-self: end;
  font: 600 0.68rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lamp);
  border: 1px solid rgba(255, 181, 71, 0.45);
  padding: 6px 8px;
  border-radius: 6px;
}
@media (max-width: 640px) {
  .event { grid-template-columns: minmax(0, 1fr) auto; }
  .event-date { display: flex; align-items: baseline; gap: 10px; }
  .event-body { grid-column: 1 / -1; }
  .tag { grid-column: 2; grid-row: 1; }
}

/* Gallery: photos from the Instagram account, each tile opens its post */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 220px);
  gap: 12px;
}
.shot {
  position: relative;
  isolation: isolate;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--raised);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.3s;
}
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 12, 9, 0.9), rgba(6, 12, 9, 0.15) 50%, transparent 70%);
}
.shot:hover { border-color: rgba(91, 203, 107, 0.55); }
.shot:hover img { transform: scale(1.05); }
.cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 4px;
}
.cap small {
  font: 600 0.66rem/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.cap b { font: 700 1.05rem/1.2 var(--font-body); }
.shot:first-child .cap b { font-size: 1.5rem; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
  .shot:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .cap { left: 10px; right: 10px; bottom: 10px; }
  .cap b { font-size: 0.92rem; }
}

/* Panels: the gallery and events open over the page from the menu */
html:has(dialog.panel[open]) { overflow: hidden; }
.panel {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  color: var(--fg);
  overflow: auto;
  overscroll-behavior: contain;
}
.panel::backdrop {
  background: rgba(4, 8, 6, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.panel[open] { animation: panel-in 0.25s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.panel-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(20px, 3vw, 36px);
  background: rgba(10, 19, 14, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.panel-title { display: grid; gap: 6px; min-width: 0; }
.panel h2 {
  margin: 0;
  font: 800 clamp(1.9rem, 3.6vw, 2.8rem)/0.95 var(--font-display);
  text-transform: uppercase;
}
.panel-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.panel-close:hover { border-color: var(--green); color: var(--green); }
.panel-close svg { width: 20px; height: 20px; }
.panel-inner { display: grid; gap: clamp(20px, 3vw, 32px); padding: clamp(20px, 3vw, 36px); }
.panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}
@media (max-width: 640px) {
  .panel { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
  .panel-bar {
    padding-top: max(14px, env(safe-area-inset-top, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .panel-inner {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }
}

/* Footer: the motherboard. PCB traces carry light pulses between a GPU, the CPU and RAM; contact links are rear I/O ports. Fans idle and the CPU drops to standby when the salon is closed */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #08110C;
  border-top: 1px solid rgba(91, 203, 107, 0.22);
}
.mb-board {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse 70% 90% at 50% 45%, #0F2219, #08110C 75%);
}
.traces { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.trace { fill: none; stroke: #183324; stroke-width: 2; }
.via { fill: #08110C; stroke: #2B5440; stroke-width: 2; }
.pulses { filter: drop-shadow(0 0 4px rgba(91, 203, 107, 0.9)); }
.pulse {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 18 420;
  animation: pulse-run var(--pd, 3s) linear var(--pdl, 0s) infinite;
}
.pulse.cy { stroke: var(--cyan); }
.pulse.am { stroke: var(--lamp); }
@keyframes pulse-run { from { stroke-dashoffset: 438; } to { stroke-dashoffset: 0; } }
.is-closed .pulse { animation-duration: 12s; }

.hole {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #08110C 52%, #B8973F 58%, #8E7430 88%, transparent 92%);
}
.hole.tl { top: 14px; left: 14px; }
.hole.tr { top: 14px; right: 14px; }
.hole.bl { bottom: 14px; left: 14px; }
.hole.br { bottom: 14px; right: 14px; }

.mb-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 40px;
  padding-block: 52px 48px;
}
.mb-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px clamp(28px, 5vw, 64px);
}

/* RGB neon logo: the original PNG in front, an RGB rim and a blurred RGB glow cut to its silhouette behind */
.neon-logo {
  position: relative;
  flex: none;
  width: clamp(200px, 22vw, 280px);
  max-width: 100%;
  aspect-ratio: 305 / 260;
  isolation: isolate;
}
.neon-logo img { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.neon-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(14px);
  opacity: 0.9;
  animation: neon-breathe 3.2s ease-in-out infinite;
}
.neon-mask,
.neon-rim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url("../img/logo.png") center / contain no-repeat;
  mask: url("../img/logo.png") center / contain no-repeat;
}
.neon-rim { z-index: 1; transform: scale(1.04); }
.neon-mask::before,
.neon-rim::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160%;
  aspect-ratio: 1;
  background: conic-gradient(var(--green), var(--cyan), #7C5CFF, var(--pink), var(--lamp), var(--green));
  transform: translate(-50%, -50%) rotate(0deg);
  animation: neon-spin 4s linear infinite;
  will-change: transform;
}
@keyframes neon-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes neon-breathe { 50% { opacity: 0.5; } }
.is-closed .neon-glow { animation: none; opacity: 0.2; }

/* GPU */
.gpu-slot { display: grid; justify-items: center; gap: 6px; width: min(640px, 100%); }
.gpu {
  position: relative;
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 18px 18px 14px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #131E18, #0B130F);
  border: 1px solid #24392D;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9);
}
.rgb-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; }
.rgb-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink), var(--lamp), var(--green)) 0 0 / 50% 100% repeat-x;
  animation: bar-run 4s linear infinite;
  will-change: transform;
}
@keyframes bar-run { to { transform: translateX(-50%); } }
.gpu-fans { display: flex; justify-content: space-around; gap: 12px; }
.fan {
  --fan-dur: 0.9s;
  position: relative;
  width: clamp(76px, 24vw, 140px);
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: 50%;
  background: #070D0A;
  border: 1px solid #24392D;
}
.is-closed .fan { --fan-dur: 6s; }
.fan-ring {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: conic-gradient(var(--green), var(--cyan), var(--pink), var(--lamp), var(--green));
  -webkit-mask: radial-gradient(circle closest-side, transparent 84%, #000 86%, #000 95%, transparent 97%);
  mask: radial-gradient(circle closest-side, transparent 84%, #000 86%, #000 95%, transparent 97%);
  animation: spin 3s linear infinite reverse;
  will-change: transform;
}
.blades {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(200, 230, 210, 0.55) 0deg 20deg, rgba(200, 230, 210, 0.06) 20deg 40deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 34%, #000 36%);
  mask: radial-gradient(circle closest-side, transparent 34%, #000 36%);
  animation: spin var(--fan-dur) linear infinite;
  will-change: transform;
}
.fan:nth-child(2) .blades { animation-delay: -0.3s; }
.fan:nth-child(3) .blades { animation-delay: -0.6s; }
.hub {
  position: absolute;
  inset: 39%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #34463C, #121C16);
  border: 1px solid #2E4A3A;
}
@keyframes spin { to { transform: rotate(360deg); } }
.gpu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 600 0.66rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--off);
}
.gpu-foot b { color: var(--lamp); font-weight: 600; font-variant-numeric: tabular-nums; }
.pcie { display: flex; align-items: center; gap: 10px; width: 78%; }
.pcie-bar {
  flex: 1;
  height: 9px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(201, 165, 74, 0.55) 0 2px, transparent 2px 5px), #0B130F;
  border: 1px solid #2A3F33;
}
.pcie-silk { font: 400 0.55rem/1 var(--font-mono); letter-spacing: 0.1em; color: var(--off); }

/* CPU */
.cpu { display: grid; justify-items: center; gap: 12px; }
.socket {
  width: clamp(150px, 15vw, 186px);
  aspect-ratio: 1;
  max-width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(201, 165, 74, 0.5) 1px, transparent 1.6px) 0 0 / 8px 8px, #0D1612;
  border: 1px solid #2A3F33;
}
.ihs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(145deg, #2B3933, #18221D 55%, #232F29);
  border: 1px solid #3A4D42;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ihs::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(91, 203, 107, 0.28), transparent);
  animation: die-pulse 2.4s ease-in-out infinite;
}
.is-closed .ihs::before { animation: none; opacity: 0; }
@keyframes die-pulse { 50% { opacity: 0.35; } }
.cpu-brand { font: 900 clamp(1.25rem, 2vw, 1.6rem)/1 var(--font-display); letter-spacing: 0.02em; color: #DDE7E0; }
.cpu-sub { font: 600 0.72rem/1 var(--font-mono); letter-spacing: 0.18em; color: var(--green); }
.cores { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-block: 6px 2px; }
.cores i {
  width: 6px;
  height: 100%;
  border-radius: 1px;
  background: linear-gradient(to top, var(--green), var(--lamp));
  transform-origin: bottom;
  animation: load var(--d, 1.6s) ease-in-out var(--dl, 0s) infinite alternate;
}
.cores i:nth-child(1) { --d: 1.3s; }
.cores i:nth-child(2) { --d: 1.9s; --dl: -0.4s; }
.cores i:nth-child(3) { --d: 1.1s; --dl: -0.8s; }
.cores i:nth-child(4) { --d: 2.2s; --dl: -0.2s; }
.cores i:nth-child(5) { --d: 1.5s; --dl: -1.1s; }
.cores i:nth-child(6) { --d: 1.7s; --dl: -0.6s; }
.cores i:nth-child(7) { --d: 1.2s; --dl: -0.9s; }
.cores i:nth-child(8) { --d: 2s; --dl: -1.4s; }
.is-closed .cores i { animation-duration: 6s; opacity: 0.4; }
@keyframes load {
  0% { transform: scaleY(0.2); }
  30% { transform: scaleY(0.85); }
  55% { transform: scaleY(0.45); }
  80% { transform: scaleY(1); }
  100% { transform: scaleY(0.6); }
}
.cpu-code { font: 400 0.56rem/1 var(--font-mono); letter-spacing: 0.08em; color: var(--off); }
.cpu-pwr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--muted);
}
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.is-closed .led { background: var(--lamp); box-shadow: 0 0 8px var(--lamp); }

/* RAM */
.ram { display: grid; justify-items: center; gap: 10px; }
.dimms { display: flex; gap: 8px; height: clamp(130px, 13vw, 160px); }
.dimm {
  position: relative;
  width: 18px;
  overflow: hidden;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(90deg, #15221B, #1F3027 50%, #15221B);
  border: 1px solid #2A3F33;
}
.dimm::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 40px;
  bottom: 10px;
  background: repeating-linear-gradient(to bottom, #0A110D 0 14px, transparent 14px 20px);
}
.dimm-rgb { position: absolute; top: 0; left: 0; right: 0; height: 32px; overflow: hidden; }
.dimm-rgb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200%;
  background: linear-gradient(180deg, var(--green), var(--cyan), var(--pink), var(--lamp), var(--green)) 0 0 / 100% 50% repeat-y;
  animation: ram-flow 2.4s linear infinite;
  will-change: transform;
}
.dimm:nth-child(2) .dimm-rgb::before { animation-delay: -0.6s; }
.dimm:nth-child(3) .dimm-rgb::before { animation-delay: -1.2s; }
.dimm:nth-child(4) .dimm-rgb::before { animation-delay: -1.8s; }
@keyframes ram-flow { to { transform: translateY(-50%); } }
.dimm.empty { background: #070C09; border-color: #1E3227; }
.dimm.empty::after { left: 50%; right: auto; width: 2px; margin-left: -1px; top: 8px; bottom: 8px; background: #1E3227; }
.dimm-labels { display: flex; gap: 8px; font: 400 0.55rem/1 var(--font-mono); color: var(--off); }
.dimm-labels span { width: 18px; text-align: center; }
.ram-silk { font: 600 0.6rem/1 var(--font-mono); letter-spacing: 0.1em; color: var(--muted); white-space: nowrap; }

/* Rear I/O */
.io-panel {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #111A15, #0B120E);
  border: 1px solid var(--line);
}
.io-title {
  display: block;
  margin: 0 0 12px 4px;
  font: 600 0.62rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--off);
}
.ports {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ports li { display: flex; min-width: 0; }
.port {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
a.port:hover { border-color: rgba(91, 203, 107, 0.45); background: rgba(91, 203, 107, 0.06); }
a.port:hover .pg { filter: drop-shadow(0 0 6px rgba(91, 203, 107, 0.9)); }
.port-txt { min-width: 0; display: grid; gap: 4px; }
.port-k { font: 600 0.62rem/1 var(--font-mono); letter-spacing: 0.16em; color: var(--off); }
.port-v { font-weight: 600; font-size: 0.95rem; line-height: 1.25; white-space: nowrap; }
.port-v.mono { font-family: var(--font-mono); font-size: 0.9rem; font-variant-numeric: tabular-nums; }

.pg { flex: none; position: relative; display: block; transition: filter 0.2s; }
.pg-rj45 { width: 34px; height: 28px; border-radius: 3px; background: #040806; border: 1px solid #3A4D42; }
.pg-rj45::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -1px;
  height: 7px;
  background: #17231D;
  border: 1px solid #3A4D42;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}
.pg-rj45 i { position: absolute; top: 3px; width: 7px; height: 4px; border-radius: 1px; }
.pg-rj45 .lk { left: 3px; background: var(--green); box-shadow: 0 0 6px var(--green); }
.pg-rj45 .act { right: 3px; background: var(--lamp); box-shadow: 0 0 6px var(--lamp); animation: act 1.1s steps(1) infinite; }
.is-closed .pg-rj45 .act { animation: none; opacity: 0.25; }
@keyframes act {
  0%, 20%, 45%, 60%, 100% { opacity: 1; }
  10%, 35%, 50%, 80% { opacity: 0.15; }
}
.pg-jack {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #000 52%, #1A2620 58%);
  border: 3px solid var(--green);
}
.pg-usbc { width: 32px; height: 13px; border-radius: 7px; background: #040806; border: 1px solid #3A4D42; }
.pg-usbc::after { content: ""; position: absolute; left: 7px; right: 7px; top: 4px; height: 3px; border-radius: 2px; background: #3A4D42; }
.pg-hdmi, .pg-dp { width: 34px; height: 15px; }
.pg-hdmi::before, .pg-hdmi::after, .pg-dp::before, .pg-dp::after { content: ""; position: absolute; }
.pg-hdmi::before, .pg-dp::before { inset: 0; background: #3A4D42; }
.pg-hdmi::after, .pg-dp::after { inset: 2px; background: #040806; }
.pg-hdmi::before, .pg-hdmi::after { clip-path: polygon(0 0, 100% 0, 100% 45%, 86% 100%, 14% 100%, 0 45%); }
.pg-dp::before, .pg-dp::after { clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%, 0 60%); }
.pg-ig { width: 28px; height: 28px; }
.pg-ig svg { display: block; width: 100%; height: 100%; }

.silk {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 20px 26px;
  font: 400 0.7rem/1.5 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--off);
}
.silk b { color: var(--muted); font-weight: 600; }

@media (max-width: 1040px) {
  .ports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .ports { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .mb-inner { gap: 32px; }
  .io-panel { padding: 12px; }
}
@media (max-width: 380px) {
  .port-v { white-space: normal; overflow-wrap: anywhere; }
}

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-block: 14px;
  font-size: 1.06rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font: 600 1.4rem/1 var(--font-mono);
  color: var(--green);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 70ch; color: var(--muted); }

/* Mobile quick-action bar: call, directions, Instagram within thumb reach */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 8px;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(8, 17, 12, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: var(--fg);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
  }
  .mbar-btn svg { flex: none; width: 18px; height: 18px; }
  .mbar-call { background: var(--green); border-color: transparent; color: var(--green-ink); }
  .site { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* Performance: skip layout and paint for sections below the fold, pause animations that are off screen */
#hakkimizda, #sss, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.anim-off, .anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: rgba(91, 203, 107, 0.2); }
@media (hover: none) {
  .shot:hover img { transform: none; }
}
@media (max-width: 640px) {
  .pulses { filter: none; }
}

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