/* Fonts are self-hosted (SIL OFL 1.1, see ../fonts/OFL-*.txt) to avoid third-party requests. */
@font-face {
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/prata-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-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;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-italic-latin.woff2") format("woff2");
}

:root {
  --text: #4c4f53;
  --heading: #000000;
  --accent: #d42929;
  --muted: #989ea6;
  --rule: #eeefef;
  --bg: #ffffff;
  --measure: 70rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Mulish", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75em;
  color: var(--heading);
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  line-height: 1.4;
}

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

hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--bg);
}

/* Header: photo banner with a light dark overlay so white text stays legible. */
.site-header {
  position: relative;
  color: #fff;
  text-align: center;
  background: #2f3235 url("../img/header.jpg") center / cover no-repeat;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.site-header > * {
  position: relative;
}

.site-header__brand {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 1rem 1.25rem;
}

.site-title {
  margin: 0;
  font-family: "Prata", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
}

.site-title a,
.site-nav a {
  color: #fff;
  text-decoration: none;
}

.site-description {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.site-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2rem;
  margin: 0;
  padding: 0 1rem;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-content {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem 1rem;
}

.page-title {
  font-size: 1.5rem;
  line-height: 1.8;
}

.entry-content a {
  color: var(--accent);
}

.entry-content a:hover,
.entry-content a:focus-visible {
  color: var(--text);
}

.entry-content hr {
  width: 100px;
  margin-inline: auto;
}

.entry-content > :first-child {
  margin-top: 0;
}

.lead {
  font-size: 1.5625rem;
  line-height: 1.4;
}

.link-list ul {
  padding: 0;
  list-style: none;
}

.link-list li {
  margin-bottom: 1rem;
}

blockquote {
  position: relative;
  margin: 2rem 0;
  padding-left: 3.75rem;
  font-size: 1.125rem;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.25rem;
  left: 0;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.8;
}

blockquote p {
  margin-top: 0;
}

blockquote cite {
  display: block;
  font-style: normal;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.instagram-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.instagram-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.instagram-grid a:hover img,
.instagram-grid a:focus-visible img {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 1.5rem 1rem;
  border-top: 1px solid #f1f1f1;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}
