/* ── Reset & tokens ──────────────────────────────────────────────────────── */

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

:root {
  --cream:     #f5f0e8;
  --ink:       #1a1510;
  --rust:      #c4622d;
  --sage:      #7a8c6e;
  --warm-gray: #8a8278;
  --border:    #d4c9b8;
  --nav-h:     4rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, .para-hero, .merch-header, .contact-page, .article-single,
.merch-single, .page-header { flex: 1; }

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

/* ── Navigation ──────────────────────────────────────────────────────────── */

#main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 200;
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-links a.active,
.nav-links a:hover { color: var(--rust); }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 0.75rem;
  list-style: none;
}

.lang-switcher a {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.lang-switcher a.lang-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.lang-switcher a:hover { color: var(--rust); }

/* Burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 0.85rem 2rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--rust); }

.btn-light {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  padding: 0.85rem 2rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-light:hover { background: var(--rust); color: var(--cream); }

.link-arrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--warm-gray);
  transition: color 0.2s;
}

.link-arrow:hover { color: var(--rust); }

/* ── Para Hero ───────────────────────────────────────────────────────────── */

.para-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(90vh - var(--nav-h));
}

.para-hero-left {
  padding: 5rem 4rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.para-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.5rem;
}

.para-hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.para-hero h1 em {
  font-style: italic;
  color: var(--rust);
}

.para-hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 38ch;
  margin-bottom: 2.5rem;
}

.para-hero-right {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px);
}

.hero-quote {
  position: relative;
  color: var(--cream);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  padding: 3rem;
  line-height: 1.65;
  opacity: 0.9;
  border: none;
}

.hero-quote::before {
  content: '\201C';
  display: block;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--rust);
  margin-bottom: 1rem;
  font-style: normal;
}

/* ── Services strip ──────────────────────────────────────────────────────── */

.services-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
}

.service-item {
  flex: 1;
  padding: 2.5rem;
  border-right: 1px solid var(--border);
}

.service-item:last-child { border-right: none; }

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--rust);
  margin-bottom: 0.75rem;
}

.service-item h3 {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ── Articles section ────────────────────────────────────────────────────── */

.articles-section { padding: 5rem 3rem 4rem; }
.articles-section--list { padding-top: 3rem; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 300;
}

.section-header span {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border: 1px solid var(--border);
}

.articles-grid--list {
  grid-template-columns: repeat(3, 1fr);
}

.article-card {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.article-card:nth-child(3n) { border-right: none; }
.articles-grid .article-card:nth-child(3)  { border-right: none; }
.articles-grid .article-card:last-child    { border-bottom: none; }

.article-card:hover { background: rgba(196,98,45,.04); }

.article-card h3 a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}

.article-card h3 a:hover { color: var(--rust); }

.article-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-card.featured h3 { font-size: 1.7rem; }

.article-card p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

.article-tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage);
  padding: 0.2rem 0.5rem;
}

.articles-more {
  margin-top: 2rem;
  text-align: right;
}

/* ── Single article ──────────────────────────────────────────────────────── */

.article-single {
  max-width: 72ch;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}

.article-single-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-single-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
}

.article-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.article-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
}

.article-body p    { margin-bottom: 1.5rem; }
.article-body h2   { font-size: 1.5rem; font-weight: 400; margin: 2.5rem 0 1rem; }
.article-body h3   { font-size: 1.2rem; font-weight: 400; margin: 2rem 0 0.75rem; }
.article-body ul,
.article-body ol   { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-body li   { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 3px solid var(--rust);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--warm-gray);
  font-style: italic;
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── Page header (list pages) ───────────────────────────────────────────── */

.page-header {
  border-bottom: 1px solid var(--border);
  padding: 4rem 3rem 2.5rem;
}

.page-header h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-top: 0.75rem;
}

/* ── Merch page ──────────────────────────────────────────────────────────── */

.merch-header {
  padding: 4rem 3rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.merch-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
}

.merch-header h1 em { font-style: italic; color: var(--rust); }

.merch-header p {
  font-size: 1rem;
  color: var(--warm-gray);
  max-width: 36ch;
  line-height: 1.6;
  text-align: right;
}

.filter-bar {
  display: flex;
  padding: 0 3rem;
  border-bottom: 1px solid var(--border);
  gap: 0;
}

.filter-btn {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: none;
  border-right: 1px solid var(--border);
  background: none;
  color: var(--warm-gray);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:last-child { border-right: none; }

.filter-btn.active,
.filter-btn:hover { color: var(--cream); background: var(--ink); }

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.merch-item {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: background 0.15s;
}

.merch-item:hover { background: rgba(196,98,45,.03); }

.merch-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.merch-item:hover .merch-thumb img { transform: scale(1.06); }

.merch-thumb-inner {
  font-size: 4rem;
  line-height: 1;
  transition: transform 0.35s ease;
}

.merch-item:hover .merch-thumb-inner { transform: scale(1.08); }

.merch-info {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  flex: 1;
}

.merch-info h3 { font-size: 1rem; font-weight: 400; margin-bottom: 0.3rem; }

.merch-price {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--rust);
}

.merch-type {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 0.25rem;
}

.merch-type--sold { color: var(--warm-gray); opacity: 0.6; }

.merch-cta {
  margin: 0 3rem 4rem;
  border: 1px solid var(--border);
  border-top: none;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--ink);
  color: var(--cream);
}

.merch-cta p { font-size: 1.1rem; font-weight: 300; font-style: italic; }

/* Thumbnail bg colors */
.bg-1 { background: #e8dfd4; }
.bg-2 { background: #d4e0d8; }
.bg-3 { background: #ddd4e8; }
.bg-4 { background: #e8d4d4; }
.bg-5 { background: #d4dde8; }
.bg-6 { background: #e8e4d4; }
.bg-7 { background: #d4e8e0; }
.bg-8 { background: #e8d8d4; }

/* ── Merch single ────────────────────────────────────────────────────────── */

.merch-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(90vh - var(--nav-h));
}

.merch-single-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.merch-single-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-single-emoji { font-size: 8rem; }

.merch-single-info {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.merch-single-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
}

.merch-single-price {
  font-family: 'DM Mono', monospace;
  font-size: 1.1rem;
  color: var(--rust);
}

.merch-single-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-gray);
}

.merch-single-cta {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.merch-single-cta p {
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.merch-back { margin-top: auto; padding-top: 2rem; }

/* ── Contact page ────────────────────────────────────────────────────────── */

.contact-page {
  max-width: 52rem;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}

.contact-header { margin-bottom: 3rem; }

.contact-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  margin: 0.75rem 0 1rem;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.contact-direct {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact-link:hover { border-bottom-color: var(--rust); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.form-group input,
.form-group textarea {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 3rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--rust); }

/* ── Mobile ──────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .merch-grid { grid-template-columns: repeat(2, 1fr); }

  .articles-grid,
  .articles-grid--list { grid-template-columns: 1fr 1fr; }

  .article-card:nth-child(2n) { border-right: none; }
  .article-card:nth-child(3) { border-right: 1px solid var(--border); }
}

@media (max-width: 768px) {
  #main-nav { padding: 0 1.5rem; }

  .nav-burger { display: flex; }

  .nav-panel {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
    gap: 2rem;
    z-index: 100;
  }

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

  .nav-links { flex-direction: column; gap: 1.25rem; }
  .nav-links a { font-size: 1.1rem; }

  /* Para hero */
  .para-hero { grid-template-columns: 1fr; }

  .para-hero-left {
    padding: 3rem 1.5rem 2.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .para-hero-right { min-height: 40vw; }

  /* Services */
  .services-strip { flex-direction: column; }
  .service-item { border-right: none; border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }

  /* Articles */
  .articles-section { padding: 3rem 1.5rem; }

  .articles-grid,
  .articles-grid--list { grid-template-columns: 1fr; }

  .article-card { border-right: none !important; }

  /* Merch */
  .merch-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .merch-header p { text-align: left; max-width: 100%; }

  .filter-bar { padding: 0 1.5rem; overflow-x: auto; }
  .filter-btn  { white-space: nowrap; }

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

  .merch-cta {
    margin: 0 1.5rem 3rem;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Merch single */
  .merch-single { grid-template-columns: 1fr; }

  .merch-single-visual {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: 60vw;
  }

  .merch-single-info { padding: 2.5rem 1.5rem; }

  /* Article single */
  .article-single { padding: 2.5rem 1.5rem 4rem; }

  /* Contact */
  .contact-page { padding: 2.5rem 1.5rem 4rem; }

  /* Footer */
  footer { padding: 1.5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .merch-grid { grid-template-columns: 1fr; }
  .merch-thumb-inner { font-size: 5rem; }
}
