/* MyDirtySock - static rebuild of the GoDaddy Website Builder site (2026-09-20).
   Type, colours and layout copied from the live site: Cabin 700 for the wordmark and the gear heading,
   Lora for everything else, #e2e2e2 headings, #919191 body, #969696 small print, on black. */

@font-face {
  font-family: 'Lora';
  src: url('font/lora.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cabin';
  src: url('font/cabin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #000;
  --heading: #e2e2e2;
  --body: #919191;
  --muted: #969696;
  --link: #cfcfcf;
  --max: 1112px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  padding: 0 16px;
  background: var(--bg);
  color: var(--body);
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); }

/* ---------------------------------------------------------------- header */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 0 8px;
  text-align: center;
}

.wordmark {
  display: inline-block;
  font-family: 'Cabin', Arial, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 1px;
  color: var(--heading);
  text-decoration: none;
}

.tagline {
  margin: 12px 0 0;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 0 8px;
  text-align: center;
}

.hero img {
  width: 440px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.lede {
  margin: 24px auto 0;
  max-width: 725px;
  color: var(--body);
}

/* ----------------------------------------------------------------- cards */
.cards {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.card { text-align: center; }

.card h2 {
  margin: 0 0 24px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.27;
  color: var(--heading);
}

.card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin-bottom: 24px;
}

.card p { margin: 0; }

.inline { text-decoration: underline; }

/* ------------------------------------------------------------------ gear */
.gear {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 0 24px;
}

.gear-title {
  margin: 0 0 40px;
  font-family: 'Cabin', Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--heading);
}

.gear img {
  width: 365px;
  max-width: 100%;
  margin: 0 auto;
}

/* ---------------------------------------------------------------- footer */
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 0 40px;
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
}

.social a {
  color: #757575;
  display: inline-flex;
  padding: 8px;
  transition: color .15s ease;
}

.social a:hover,
.social a:focus-visible { color: var(--heading); }

.copyright {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------------- narrow screens */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 56px; padding-top: 40px; }
  .wordmark { font-size: 34px; }
  .tagline { font-size: 13px; letter-spacing: 1.5px; }
  .gear-title { text-align: center; font-size: 20px; }
}
