/* ======================================================
   V. Mitch McEwen — site CSS
   Bold editorial / PIN-UP / Prem-adjacent
   ====================================================== */

/* ---- reset / base ---- */
* { box-sizing: border-box; }


html {
  font-size: 19px; /* global scale up */
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: #0b0b0f;
  background: #ffffff;
  text-rendering: geometricPrecision;
}

/* ---- layout ---- */
.wrap {
  max-width: 1120px;
  padding: 2.75rem 3.25rem 7rem;
  margin: 0 auto;
}

/* ---- nav ---- */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
  margin: 0 0 3.5rem 0;
  font-size: .95rem;
  letter-spacing: .02em;
}

.nav a {
  color: #0b0b0f;
  text-decoration: none;
  padding-bottom: .15rem;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a.is-current {
  border-bottom-color: currentColor;
}

/* ---- headings ---- */
h1 {
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem 0;
}

h2 {
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 4rem 0 1.1rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(11,11,15,0.14);
}

/* ---- text ---- */
p {
  margin: 0 0 1.25rem 0;
  max-width: 48rem;
}

section:first-of-type p {
  font-size: 1.35rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 52rem;
}

/* ---- links ---- */
a {
  color: #1a39ff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 3px;
}

.nav a,
footer a {
  color: #0b0b0f;
  text-decoration: none;
}

/* ======================================================
   IMAGES — ABSOLUTELY NO BORDERS EVER
   ====================================================== */

img,
a img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* header image */
header {
  margin-bottom: 3.25rem;
}

header img {
  margin-top: 1rem;
  width: min(600px, 100%);
}

/* section images */
section img {
  width: min(300px, 100%);
  margin: .9rem 0 1.2rem 0;
}

/* ===============================
   HOME GRID
   =============================== */

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.home-item {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-item img {
  width: 100%;
  height: auto;
border: 0 !important;
}

/* ---- lists ---- */
ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
  max-width: 56rem;
}

li {
  margin: .6rem 0;
  padding-left: 1.3rem;
  position: relative;
}

li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(11,11,15,0.5);
}

li a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.appearances li {
  margin-bottom: 1rem;
}

/* ---- footer ---- */
footer {
  margin-top: 7rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11,11,15,0.14);
  font-size: .95rem;
}

footer p {
  margin: 0;
  max-width: none;
}

footer a {
  border-bottom: 1px solid rgba(11,11,15,0.35);
  padding-bottom: .1rem;
}

footer a:hover {
  border-bottom-color: #0b0b0f;
}

/* ---- small screen ---- */
@media (max-width: 820px) {
  html { font-size: 17.5px; }

  .wrap {
    padding: 1.75rem 1.4rem 5rem;
  }

  h1 { font-size: 2.1rem; }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ---- print ---- */
@media print {
  a { color: #0b0b0f; text-decoration: underline; }
  img { border: 0 !important; }
}
