/* Grift Rocket — shared styles */

:root {
  --ink: #000;
  --paper: #fff;
  --grey: #d2d2d2;
  --grey-dark: #b9b9b9;
  --muted: #333;
  --display: "Archivo Black", "Arial Black", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --max: 900px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--grey);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.4;
}

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

a { color: inherit; }

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  padding: 40px 16px 36px;
  text-align: center;
}

.logo {
  display: inline-block;
  width: 200px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  margin-top: 18px;
}

.nav a {
  font-family: var(--display);
  font-size: 36px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  border-bottom: 4px solid transparent;
}

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

/* ---------- Main ---------- */

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 16px 64px;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 { font-size: 32px; text-align: center; }
h2 { font-size: 30px; }

.blurb {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.35;
  margin: 0;
}

.stack > * + * { margin-top: 64px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Video embeds ---------- */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Home ---------- */

.feature {
  display: block;
  max-width: 285px;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.feature:hover { transform: rotate(-1.5deg) scale(1.02); }

.intro + .feature { margin-top: 28px; }

/* ---------- Grift Mix ---------- */

.mix { text-align: center; }

.mix a.cover {
  display: block;
  max-width: 560px;
  margin: 0 auto 18px;
  transition: transform 0.2s ease;
}

.mix a.cover:hover { transform: rotate(-1.5deg) scale(1.02); }

.mix .blurb { max-width: 680px; margin: 0 auto; }

.intro { max-width: 680px; margin: 0 auto; text-align: center; }
.intro p { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.intro p:last-child { margin-bottom: 0; }
.intro a { font-weight: 700; }
.intro + .stack { margin-top: 36px; }

/* ---------- Scripts ---------- */

.script {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.script img { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
.script .blurb { margin-bottom: 28px; }

.button {
  display: inline-block;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 18px;
  border: 3px solid var(--ink);
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.button:hover { background: var(--ink); color: var(--grey); }

/* ---------- Contact ---------- */

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.contact-links li + li { margin-top: 20px; }

.contact-links a {
  font-family: var(--display);
  font-size: 30px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-links a:hover { text-decoration: underline; }

/* ---------- About ---------- */

.about { max-width: 680px; margin: 0 auto; }
.about p { font-size: 19px; margin: 0 0 18px; }

.about .tagline { text-align: center; }

.about-photo {
  max-width: 612px;
  width: 100%;
  margin: 32px auto 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 0 16px 32px;
  font-size: 16px;
}

.site-footer nav a { text-decoration: none; text-transform: uppercase; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer p { margin: 12px 0 0; }

/* ---------- Phones ---------- */

@media (max-width: 700px) {
  .site-header { padding: 28px 16px 24px; }
  .logo { width: 150px; }
  .nav { gap: 6px 22px; }
  .nav a { font-size: 22px; border-bottom-width: 3px; }

  main { padding-top: 32px; }
  h1 { font-size: 26px; }
  h2 { font-size: 24px; }
  .blurb { font-size: 17px; }
  .stack > * + * { margin-top: 48px; }

  .script { grid-template-columns: 1fr; }
  .script img { max-width: 260px; }
  .contact-links a { font-size: 22px; }
}
