/* Ink & Talk — shared site styles */

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-mid: #222;
  --text-light: #9c4d21;
  --rule: #d0d0d0;

  --ink: var(--text);
  --ink-soft: rgba(26, 26, 26, 0.75);
  --ink-faint: rgba(26, 26, 26, 0.5);
  --accent: #4a7c99;
  --accent-soft: #e4edf1;
  --accent-ink: #2e5a72;
  --card-bg: #f7f7f5;
  --border: var(--rule);

  --serif: 'Roboto', -apple-system, 'Helvetica Neue', sans-serif;
  --sans: 'Roboto', -apple-system, 'Helvetica Neue', sans-serif;

  --page-max: 1100px;
  --page-pad: 3rem;
  --left-col: 380px;
  --section-offset: calc(50px + 1rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--serif);
  color: var(--text);
  line-height: 1.65;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #ccc;
  transition: text-decoration-color 0.2s, color 0.2s;
}

a:hover {
  text-decoration-color: var(--text);
  opacity: 1;
}

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

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: sticky;
  top: 0;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(6px);
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand img { height: 34px; width: auto; mix-blend-mode: multiply; }
.brand .amp { color: var(--accent); }
.brand-logo { height: 96px !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}

.brand,
.nav-links a,
.btn,
.chip,
.story-card,
.story-cta,
.footer-links a,
.back-link {
  text-decoration: none;
}
.nav-links a:hover,
.footer-links a:hover,
.back-link:hover {
  opacity: 0.75;
}

.nav-links a { opacity: 0.75; }
.nav-links a.active { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

.hero-logo { height: 110px; width: auto; margin-bottom: 22px; mix-blend-mode: multiply; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--accent-ink);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 840px;
}

.hero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 0 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-dark { background: var(--ink); color: var(--bg); }
.btn-soft { background: var(--accent-soft); color: var(--ink); }

/* ---------- Section headers ---------- */
.section { padding: 20px 0 70px; }
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}
.section h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 26px;
}

/* ---------- Filter chips ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
}
.chip.active { border-color: var(--accent); background: var(--accent); }

/* ---------- Story cards ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(38, 36, 31, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(38, 36, 31, 0.14);
  opacity: 1;
}

.story-card .thumb {
  height: 220px;
  position: relative;
  flex: none;
  overflow: hidden;
  background: #eee;
}
.story-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--card-bg);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

.story-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.story-body h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.story-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(38, 36, 31, 0.55);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.story-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
}

/* ---------- About ---------- */
.about {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.about h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.about p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

/* ---------- Newsletter ---------- */
.newsletter-wrap { padding: 0 0 70px; }
.newsletter {
  background: var(--accent);
  border-radius: 24px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.newsletter h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.newsletter p { font-size: 15px; margin: 0; color: var(--ink-soft); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  min-width: 220px;
  outline: none;
}
.newsletter-form button {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 50px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-about { max-width: 340px; }
.footer-about > img { height: 50px; width: auto; margin-bottom: 12px; mix-blend-mode: multiply; }
.footer-about p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.footer-cols { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-col-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--ink-faint);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }

.copyright {
  padding: 0 0 30px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(38, 36, 31, 0.6);
}

/* ---------- Article pages ---------- */
.article-hero {
  padding: 48px 0 0;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 18px;
}
.article-tag .dot { color: var(--rule); font-weight: 400; }
.article-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  max-width: 820px;
}
.article-dek {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 0 26px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-light);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}
.article-byline strong { color: var(--text-light); font-weight: 600; }

.article-cover {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 44px;
}

/* Two-column hero: text left, cover image right */
.article-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 48px 0 40px;
}
.article-hero-split .article-hero { padding: 0; min-width: 0; }
.article-hero-split .article-cover {
  width: 100%;
  height: 480px;
  margin-bottom: 0;
  border-radius: 2px;
  min-width: 0;
}

/* Alternating text/image row within the body */
.article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin: 0 0 72px;
}
.article-row .article-row-text { min-width: 0; }
.article-row .article-row-text h2 { margin-top: 0; }
.article-row .article-row-img {
  align-self: start;
  min-width: 0;
}
.article-row .article-row-img img {
  width: 100%;
  border-radius: 2px;
}
.article-row.img-left { grid-template-columns: 1fr 1fr; }
.article-row.img-left .article-row-img { order: -1; }

/* Pull quote, centered */
.article-body p.article-pullquote {
  max-width: 780px;
  margin: 24px auto 52px;
  text-align: center;
  font-size: 38px;
  line-height: 1.4;
  font-style: italic;
  color: var(--text);
}

/* Buy-art CTA row (green pill button, matches reference) */
.buy-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
  font-family: var(--sans);
}
.buy-cta span {
  font-style: italic;
  color: var(--text-light);
  font-size: 16px;
}
.buy-cta a {
  text-decoration: none;
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
}

/* 2x3 art / exhibition gallery */
.art-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.art-gallery img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--card-bg);
  border-radius: 2px;
}

/* Closing two-column message section */
.article-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  margin: 44px 0;
}
.article-closing .closing-lede {
  font-weight: 600;
  color: var(--text-light);
}
.article-body .article-closing p.article-pullquote {
  margin: 0;
  max-width: none;
  text-align: left;
  font-size: 38px;
  line-height: 1.4;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 24px;
}
.article-body em { font-style: italic; }
.article-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 27px;
  letter-spacing: -0.005em;
  margin: 44px 0 18px;
}
.article-body blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--rule);
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  color: var(--text);
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 8px auto 48px;
}
.article-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}
.article-gallery figure { margin: 0; }
.article-gallery figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 6px;
}

.article-figure {
  max-width: 900px;
  margin: 8px auto 44px;
}
.article-figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 18px;
}
.article-figure figcaption {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 10px;
  text-align: center;
}

.article-footer-cta {
  max-width: 720px;
  margin: 0 auto 60px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-align: center;
}
.article-footer-cta p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  font-style: italic;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 28px 0;
}

/* ---------- Clean article variant (used by story pages) ---------- */
.clean-article .article-hero h1 { font-style: normal; font-weight: 700; font-size: 38px; line-height: 1.25; letter-spacing: -0.005em; }
.clean-article .article-hero .article-dek { font-family: var(--serif); font-size: 18px; font-style: normal; line-height: 1.5; color: var(--text); margin-bottom: 20px; max-width: none; }
.clean-article .article-body { padding-bottom: 20px; }
.clean-article .article-hero-split .article-cover { height: 340px; max-width: 340px; justify-self: start; margin-top: 0; object-position: top center; }
.clean-article .article-body p { font-size: 19px; line-height: 1.65; margin: 0 0 20px; }
.clean-article .article-body p.lede {
  font-size: 24px;
  line-height: 1.35;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 28px;
}
.clean-article .article-body h2 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 29px;
  letter-spacing: -0.005em;
  margin: 46px 0 18px;
}
.clean-article .article-body blockquote {
  margin: 40px 0;
  padding: 2px 0 2px 24px;
  border-left: 2px solid var(--text-light);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-light);
}
.clean-article .article-body mark {
  background: none;
  font-weight: 700;
  font-style: italic;
  font-size: 1.08em;
  color: var(--text-light);
}
.clean-article .article-body em {
  color: var(--text-light);
}

/* ---------- Animation ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { height: 220px; }
  .article-gallery { grid-template-columns: repeat(2, 1fr); }
  .article-hero-split { grid-template-columns: 1fr; }
  .article-hero-split .article-cover { height: 320px; order: 1; }
  .article-row, .article-row.img-left { grid-template-columns: 1fr; }
  .article-row .article-row-img,
  .article-row.img-left .article-row-img { order: 1; }
  .article-row .article-row-text,
  .article-row.img-left .article-row-text { order: 0; }
  .art-gallery { grid-template-columns: repeat(2, 1fr); }
  .article-closing { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .site-nav .wrap { flex-direction: column; gap: 10px; }
  .brand { justify-content: center; }
  .nav-links { gap: 16px; font-size: 13px; justify-content: center; flex-wrap: wrap; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .story-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 30px 26px; }
  .article-hero h1 { font-size: 30px; }
  .article-body p { font-size: 16.5px; }
  .article-gallery { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}
