@font-face {
  font-family: 'Radley';
  src: url('fonts/Radley-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Radley';
  src: url('fonts/Radley-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

:root {
  --bg: #fffef0;
  --text: #2a2a2a;
  --text-light: #666;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Radley', serif;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 32px 60px 0;
  position: relative;
}

nav a {
  font-family: 'Radley', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.03em;
}

nav a:hover {
  color: var(--text-light);
}

.site-title {
  font-family: 'Radley', serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ── GALLERY ── */
main {
  padding: 52px 52px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  align-items: start;
}

/* ── CARD ── */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.card-wrapper {
  position: relative;
  width: 100%;
}

.tape {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(12deg);
  width: 75px;
  z-index: 10;
  pointer-events: none;
}

.card-paper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-title {
  font-family: 'Radley', serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ── ABOUT ── */
.about-content {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
}

/* ── ARTICLE VIEW ── */
.article-view {
  padding: 0 52px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  padding: 36px 0 36px;
  margin-bottom: 0px;
}

.article-header h1 {
  font-family: 'Radley', serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.article-header .subtitle {
  font-size: 14px;
  font-style: italic;
  color: var(--text-light);
  letter-spacing: 0.06em;
}


/* ── ARTICLE BODY ── */
.article-body {
  max-width: 580px;
  margin: 0 auto;
}

.article-body p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 22px;
}

.article-body strong {
  font-weight: 700;
  font-style: normal;
}

.article-body ol,
.article-body ul {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.article-body li {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 4px;
}

.article-body li + p,
.article-body ol + p,
.article-body ul + p {
  margin-top: 20px;
}

.article-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--text-light);
}

.article-body a {
  background: #e2db9f;
  padding: 0 2px;
  text-decoration: none;
}

.article-img {
  position: relative;
  margin: 32px auto;
  width: 60%;
}

.article-img img:last-child {
  width: 100%;
  display: block;
}

.article-body blockquote {
  border-left: 1.5px solid rgba(0,0,0,0.18);
  padding-left: 20px;
  margin: 26px 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.75;
}

.dot-divider {
  text-align: center;
  color: rgba(0,0,0,0.25);
  letter-spacing: 0.5em;
  font-size: 14px;
  margin: 28px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav { padding: 24px 24px 0; }
  main { padding-left: 20px; padding-right: 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .site-title { font-size: 24px; }
  .about-content { padding-top: 80px; }
  .article-view { padding-left: 20px; padding-right: 20px; }
}
