/* ARVYN LLC website. Colours and type come from Pitbreaker itself: the pit's green-black,
   gold and bone, Dela Gothic One for display and Barlow Semi Condensed for text. */
@font-face { font-family: 'Dela Gothic One'; src: url(fonts/dela-gothic-one-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url(fonts/barlow-semi-condensed-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url(fonts/barlow-semi-condensed-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --pit: #0a1311;
  --pit-deep: #050a09;
  --line: rgba(255, 243, 218, 0.14);
  --bone: #fff3da;
  --bone-dim: #c9bfa9;
  --gold: #ffc83d;
  --brick: #ff4d6d;
  --mint: #7dffd4;
  --grid: rgba(125, 255, 207, 0.055);
  --display: 'Dela Gothic One', 'Arial Black', sans-serif;
  --text: 'Barlow Semi Condensed', 'Arial Narrow', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pit); color: var(--bone); font: 500 1.125rem/1.55 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: #ffe08a; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 400; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -48px; padding: 8px 14px; background: var(--gold); color: var(--pit); font-weight: 600; z-index: 10; }
.skip:focus { top: 12px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 64px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.03em; }
.brand:hover { color: var(--bone); }
.brand svg { width: 28px; height: 20px; flex: none; }
.site-nav { display: flex; gap: 22px; font-weight: 600; font-size: 1rem; }
.site-nav a { color: var(--bone-dim); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bone); }

/* Hero: the game, with its screenshots descending like rows of the pit */
.hero {
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-block: 64px 96px; }
.game-icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.wordmark { margin-top: 30px; font-family: var(--display); line-height: 0.86; text-transform: uppercase; transform: rotate(-4deg); transform-origin: left bottom; }
.wordmark span { display: block; }
.wordmark .pit { font-size: clamp(4.4rem, 12.5vw, 8.4rem); color: var(--gold); text-shadow: 0 0.06em 0 #b45309, 0 0.12em 0 #3b1c03, 0 0.2em 0.32em rgba(0, 0, 0, 0.55); }
.wordmark .breaker { margin-top: 0.14em; font-size: clamp(2.25rem, 6.4vw, 4.25rem); color: var(--bone); text-shadow: 0 0.07em 0 #c2410c, 0 0.14em 0 #4a1405, 0 0.22em 0.32em rgba(0, 0, 0, 0.55); }
.tagline { margin-top: 44px; font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.2; }
.lede { margin-top: 14px; max-width: 32em; color: var(--bone-dim); }
.status { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.18); }

.pit-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.phone { margin: 0; border-radius: 22px; overflow: hidden; border: 6px solid var(--pit-deep); background: var(--pit-deep); box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(0, 0, 0, 0.55); }
.phone + .phone { margin-top: 64px; }
.phone + .phone + .phone { margin-top: 128px; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: drop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
  .phone + .phone { animation-delay: 0.12s; }
  .phone + .phone + .phone { animation-delay: 0.24s; }
  @keyframes drop { from { transform: translateY(-36px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Sections below the hero: heading on the left, content on the right */
.band { border-bottom: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 56px; padding-block: 64px; }
.band h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.15; }
.band .body > * + * { margin-top: 14px; }
.band .body p { max-width: 36em; color: var(--bone-dim); }

.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.facts dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.2rem; }
.facts dt::before { content: ''; width: 18px; height: 11px; border-radius: 3px; background: var(--c, var(--gold)); flex: none; }
.facts dd { margin: 6px 0 0; color: var(--bone-dim); }

.mail { font-size: clamp(1.35rem, 3.2vw, 1.75rem); font-weight: 600; }
.band .body p.mail { color: var(--bone); }

.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px 40px; color: var(--bone-dim); font-size: 1rem; }

/* Privacy policy page */
.doc { width: min(68ch, 100% - 32px); margin-inline: auto; padding-block: 56px 72px; }
.doc h1 { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.1; }
.doc .effective { margin-top: 10px; color: var(--bone-dim); }
.doc h2 { margin-top: 40px; font-weight: 600; font-size: 1.35rem; color: var(--gold); }
.doc p, .doc li { line-height: 1.65; }
.doc h2 + p, .doc p + p, .doc p + ul, .doc ul + p { margin-top: 12px; }
.doc > p:first-of-type { margin-top: 28px; }
.doc ul { margin: 12px 0 0; padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 56px; }
  .pit-shots { gap: 10px; }
  .phone { border-width: 4px; border-radius: 16px; }
  .phone + .phone { margin-top: 28px; }
  .phone + .phone + .phone { margin-top: 56px; }
  .band .wrap { grid-template-columns: 1fr; padding-block: 44px; }
  .facts { grid-template-columns: 1fr; gap: 22px; }
}
