/* ===== ARTES — Editorial Stylesheet ===== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #fafafa;
}

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

a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #d4380d;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
  margin-bottom: 1.4em;
}

blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  border-left: 3px solid #d4380d;
  padding: 0.6em 0 0.6em 1.5em;
  margin: 2em 0;
  color: #333;
}

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fafafa;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.site-logo a {
  color: inherit;
}

.site-logo a:hover {
  color: #d4380d;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4380d;
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 80px 24px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 500;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.3;
}

.hero .subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-top: 20px;
}

/* --- Article Cards Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 56px 0;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  margin-bottom: 18px;
}

.card-category {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4380d;
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-card h3 a:hover {
  color: #d4380d;
}

.card-excerpt {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.78rem;
  color: #999;
  letter-spacing: 0.02em;
}

.card-meta .author {
  color: #1a1a1a;
  font-weight: 500;
}

/* --- Section Dividers --- */
.section-rule {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}

.section-heading {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  padding: 40px 0 24px;
}

/* --- Editor's Note --- */
.editors-note {
  background: #f0ece4;
  padding: 48px 0;
}

.editors-note-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.editors-note h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 20px;
  color: #d4380d;
}

.editors-note p {
  font-size: 1.02rem;
  color: #333;
  line-height: 1.8;
}

.editors-note .signature {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 24px;
  color: #1a1a1a;
}

/* --- Teaser List --- */
.teasers {
  padding: 48px 0 64px;
}

.teaser-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #eee;
}

.teaser-item:first-child {
  border-top: 1px solid #eee;
}

.teaser-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #ddd;
  min-width: 48px;
  line-height: 1;
  padding-top: 4px;
}

.teaser-content h4 {
  margin-bottom: 6px;
}

.teaser-content h4 a:hover {
  color: #d4380d;
}

.teaser-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #ddd;
  padding: 48px 24px 40px;
  background: #fafafa;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand .site-logo {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: #888;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h5 {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #555;
  padding: 3px 0;
}

.footer-col a:hover {
  color: #d4380d;
}

.footer-bottom {
  max-width: 1140px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #eee;
  font-size: 0.78rem;
  color: #aaa;
  text-align: center;
}

/* --- Article Page --- */
.article-hero {
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.article-hero .category-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4380d;
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: 2.6rem;
  font-weight: 600;
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

.article-hero .deck {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #555;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.article-meta {
  font-size: 0.82rem;
  color: #999;
}

.article-meta .author-name {
  color: #1a1a1a;
  font-weight: 500;
}

.article-hero-image {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  border-radius: 2px;
}

/* --- Article Body --- */
.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5em;
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5em 0 0.8em;
}

.article-body h3 {
  font-size: 1.35rem;
  margin: 2em 0 0.6em;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5em 1.5em;
}

.article-body li {
  margin-bottom: 0.5em;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body .pullquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-style: italic;
  text-align: center;
  padding: 2em 1em;
  margin: 2em 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  color: #333;
  line-height: 1.4;
}

.article-body .caption {
  font-size: 0.82rem;
  color: #888;
  font-style: italic;
  text-align: center;
  margin-top: -0.5em;
  margin-bottom: 2em;
}

/* --- Gradient Thumbnails --- */
.grad-starry {
  background: linear-gradient(135deg, #0c1445 0%, #1a3a7a 30%, #3d6db5 50%, #c9a726 70%, #f5d547 85%, #1a3a7a 100%);
}

.grad-exhibits {
  background: linear-gradient(160deg, #f0ece4 0%, #d4380d 25%, #1a1a1a 50%, #f0ece4 75%, #d4380d 100%);
}

.grad-museums {
  background: linear-gradient(145deg, #e8e0d0 0%, #8b7355 30%, #2c2c2c 55%, #c0b090 80%, #fafafa 100%);
}

.grad-abstract {
  background: linear-gradient(120deg, #d4380d 0%, #f0ece4 40%, #1a1a1a 70%, #d4380d 100%);
}

.grad-sculpture {
  background: linear-gradient(170deg, #f0ece4 0%, #ddd 30%, #888 60%, #1a1a1a 100%);
}

.grad-photo {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 35%, #888 55%, #f0ece4 80%, #fafafa 100%);
}

.grad-hero-starry {
  background: linear-gradient(160deg, #0c1445 0%, #1a3a7a 20%, #3d6db5 40%, #c9a726 55%, #f5d547 70%, #e87a1e 85%, #1a3a7a 100%);
}

.grad-hero-exhibits {
  background: linear-gradient(150deg, #fafafa 0%, #f0ece4 15%, #d4380d 35%, #1a1a1a 55%, #333 70%, #d4380d 90%, #f0ece4 100%);
}

.grad-hero-museums {
  background: linear-gradient(140deg, #f0ece4 0%, #c0b090 20%, #8b7355 40%, #1a1a1a 60%, #555 75%, #e8e0d0 90%, #fafafa 100%);
}

/* --- About Page --- */
.page-header {
  padding: 64px 24px 40px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.page-header .page-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #888;
}

.page-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.page-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.4em;
}

.page-body h2 {
  font-size: 1.8rem;
  margin: 2.5em 0 0.8em;
}

.page-body h3 {
  font-size: 1.35rem;
  margin: 1.8em 0 0.6em;
}

/* --- Masthead --- */
.masthead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 40px 0;
}

.masthead-card {
  text-align: center;
  padding: 32px 20px;
  background: #f0ece4;
  border-radius: 2px;
}

.masthead-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.masthead-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.masthead-card .role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4380d;
  margin-bottom: 12px;
}

.masthead-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4380d;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  padding: 12px 40px;
  background: #1a1a1a;
  color: #fafafa;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #d4380d;
}

/* --- Related Articles --- */
.related-articles {
  border-top: 1px solid #ddd;
  padding: 48px 0 64px;
}

.related-articles .section-heading {
  text-align: center;
}

/* --- Read More Link --- */
.read-more {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #d4380d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more::after {
  content: '\2192';
  transition: transform 0.2s;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* --- Tags --- */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: #f0ece4;
  color: #888;
  border-radius: 2px;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .masthead-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 { font-size: 2.4rem; }
  .hero h1 { font-size: 2.2rem; }
  .article-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fafafa;
    border-bottom: 1px solid #ddd;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    padding: 48px 18px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .masthead-grid {
    grid-template-columns: 1fr;
  }

  .teaser-item {
    flex-direction: column;
    gap: 8px;
  }

  .teaser-number {
    font-size: 1.6rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links {
    flex-direction: column;
    gap: 28px;
  }

  .article-hero h1 {
    font-size: 1.8rem;
  }

  .article-body p,
  .article-body li {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
