:root {
  --ink: #111111;
  --paper: #faf6f2;
  --blush: #ecd5ca;
  --accent: #8a5a4a;
  --night: #0f1c2b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem clamp(1.25rem, 5vw, 3rem);
  background: rgba(15, 28, 43, 0.92);
  backdrop-filter: blur(6px);
  color: #fff;
}

.brand {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.4em;
  color: #fff;
  text-decoration: none;
}

.site-header nav a {
  color: #dfe6ee;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.site-header nav a:hover,
.site-header nav a:focus-visible { color: #fff; border-color: var(--blush); }

.hero {
  background:
    linear-gradient(rgba(15, 28, 43, 0.55), rgba(15, 28, 43, 0.75)),
    url("images/main-nick-iliasov-i0fcuofgjv8-unsplash.jpg") center / cover,
    var(--night);
  color: #fff;
  padding: clamp(4.5rem, 14vw, 9rem) clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blush);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

h1 { font-size: clamp(2.8rem, 9vw, 5.5rem); }

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin: 1rem 0 0;
  color: #e8edf3;
}

.about {
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem) 2rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about { grid-template-columns: 1fr 1fr; }
}

.about h2 {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.9rem;
}
.about h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 3.5rem; height: 2px;
  background: var(--accent);
}

.about-text p { margin: 0 0 1.1rem; max-width: 34rem; }

.about-photo { margin: 0; }
.about-photo img {
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(60, 30, 20, 0.18);
}

.issues {
  max-width: 1050px;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 5vw, 3rem) clamp(3rem, 8vw, 6rem);
}

.issues-note {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: #5b4a43;
}

.issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.issue-list li {
  background: #fff;
  border: 1px solid var(--blush);
  border-left: 4px solid var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.issue-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(60, 30, 20, 0.12);
}
.issue-list a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}
.issue-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.num {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.site-footer {
  background: var(--night);
  color: #c9d3de;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.site-footer p { margin: 0; }
