:root {
  --bg-color: #faf8f5;
  --text-color: #2b2b2b;
  --accent-gold: #d99a38; /* Updated sample hex */
  --accent-purple: #6a4ecf; /* Updated sample hex */
  --banner-bg: #6a4ecf; 
  --card-bg: #82858a;
  --max-width: 680px;
  --content-width: 680px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* --- Standard Body Links --- */
.article-block a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.article-block a:hover {
  color: var(--accent-gold);
}

/* --- Ordered Lists --- */
ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem; /* Indents the column so numbers sit flush inside */
  list-style-position: outside;
}

ol li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

ol li:last-child {
  margin-bottom: 0;
}

/* --- Unordered Lists --- */
ul {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

li {
  margin-bottom: 0.5rem;
}

li:last-child {
  margin-bottom: 0;
}

/* --- Content Headers --- */
.article-block h1, .content-block h1,
.article-block h2, .content-block h2,
.article-block h3, .content-block h3 {
  font-family: 'Amarante', serif;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
}

.article-block h1, .content-block h1 {
  font-size: 2.4rem;
  text-align: center;
  margin: 3rem 0 1.5rem;
}

.article-block h2, .content-block h2 {
  font-size: 1.8rem;
  text-align: left;
  margin: 2.5rem 0 1rem;
}

.article-block h3, .content-block h3 {
  font-size: 1.4rem;
  text-align: left;
  margin: 2rem 0 0.75rem;
}

.article-block h4, .content-block h4 {
  font-size: 1rem;
  text-align: left;
  margin: 2rem 0 0.75rem;
}

/* --- Headers & Banners --- */
/* Index exclusive top banner */
.header-banner {
  width: 100%;
  height: 110px;
  background-color: #695bda;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #333;
  letter-spacing: 0.05em;
}

@media (max-width: 680px) {
  .header-banner { height: 160px; }
}

/* Sample exclusive full-width header */
.header-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--accent-purple);
  padding: 0;
  border-bottom: 5px solid var(--accent-gold);
}

.header-img {
  display: block;
  width: 100%;
  max-width: 850px;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* --- Typography --- */
header { text-align: center; margin-bottom: 2rem; }

.site-title {
  font-family: 'Amarante', serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.site-tagline {
  font-family: 'Amarante', serif;
  font-size: 1.15rem;
  color: #4a4a4a;
  letter-spacing: 0.02em;
}

.section-title {
  font-family: 'Amarante', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  color: #1a1a1a;
  text-align: center;
}

/* --- Navigation Bar --- */
nav {
  border-top: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  padding: 0.6rem 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

nav a {
  color: var(--accent-purple);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

nav a:hover { opacity: 0.7; }

nav a.active {
  color: var(--text-color);
  text-decoration: underline;
  text-underline-offset: 6px;
  cursor: default;
}

/* --- Drop Cap --- */
.drop-cap::first-letter {
  font-family: 'Amarante', serif;
  font-size: 4rem;
  float: left;
  line-height: 0.75;
  margin: 0.15rem 0.4rem 0 0;
  color: #111;
}

/* --- Card Element Styles --- */
.card-frame {
  width: 140px; 
  aspect-ratio: 2.75 / 4.75;
  background-color: var(--card-bg);
  border: 3px solid var(--accent-gold);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-style: italic;
}

.card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Floats & Clears --- */
.article-block, .content-block { margin-bottom: 2.5rem; }
.article-block::after, .content-block::after {
  content: "";
  display: table;
  clear: both;
}

/* Index Front-Page Exclusive Classes */
.card-left { float: left; margin: 0.25rem 1.5rem 1rem 0; transform: rotate(-6deg); }
.card-right { float: right; margin: 0.25rem 0 1rem 1.5rem; transform: rotate(8deg); }

/* Sample Page Alignment Classes */
.align-left { float: left; width: 140px; margin: 0.2rem 1.5rem 1rem 0; transform: rotate(-5deg); }
.align-right { float: right; width: 140px; margin: 0.2rem 0 1rem 1.5rem; transform: rotate(6deg); }
.align-center { margin: 2rem auto; width: 160px; transform: rotate(0deg); }

/* Sample Image Utilities */
.img-float-left { float: left; max-width: 300px; width: 100%; height: auto; margin: 0.5rem 1.5rem 1rem 0; border-radius: 8px; }
.img-full { width: 100%; max-width: 100%; height: auto; display: block; margin: 2rem 0; border-radius: 8px; }
.img-natural { max-width: 100%; width: auto; height: auto; margin: 2rem auto; display: block; }
.img-spotlight { max-width: 400px; width: 100%; height: auto; margin: 2rem auto; display: block; border-radius: 12px; border: 2px solid var(--accent-gold); }
.img-square-left { float: left; max-width: 240px; width: 100%; height: auto; margin: 0.5rem 1.5rem 1rem 0; border-radius: 12px; border: 2px solid var(--accent-gold); }

/* --- Multi-Card Fan Layout --- */
.spread-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1rem 0;
  max-width: 100%;
  box-sizing: border-box;
}

.spread-container .card-frame {
  width: 135px;
  max-width: 28%;
  aspect-ratio: 2.75 / 4.75;
  margin: 0 -8px;
  flex-shrink: 0;
  transition: transform 0.25s ease, z-index 0.25s ease;
}

.spread-container .card-spread-left {
  transform: rotate(-8deg) translateY(4px);
  z-index: 1;
}

.spread-container .card-spread-center,
.spread-container .card-spread-mid {
  transform: rotate(0deg);
  z-index: 2;
}

.spread-container .card-spread-right {
  transform: rotate(8deg) translateY(4px);
  z-index: 1;
}

.spread-container .card-frame:hover {
  transform: translateY(-8px) scale(1.05);
  z-index: 5;
}

/* --- Wide Spread & Panoramic Post Images --- */
.img-spread {
  display: block;
  max-width: 100%;
  width: 580px;         /* Keeps the 3-card artwork comfortably inside the 680px container */
  height: auto;
  margin: 2rem auto;    /* Centers horizontally with vertical breathing room */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .img-spread {
    width: 100%;
    margin: 1.5rem auto;
  }
}

/* --- Decorative Dividers --- */
.ornament-divider { display: flex; align-items: center; margin: 2.5rem 0; width: 100%; }
.ornament-divider::before, .ornament-divider::after { content: ""; flex: 1; border-bottom: 2px solid var(--accent-gold); }
.ornament-icon { padding: 0 1.2rem; color: var(--accent-purple); font-size: 1.3rem; line-height: 1; display: flex; align-items: center; }

/* --- Blockquote --- */
blockquote { border-left: 3px solid var(--accent-gold); padding-left: 1.25rem; margin: 1.5rem 0; font-style: italic; color: #444; }

/* --- Footer --- */
footer { text-align: center; font-size: 0.95rem; color: #666; margin-top: 3rem; padding-bottom: 2rem; }

/* --- Mobile Adjustments --- */
@media (max-width: 520px) {
  .spread-container .card-frame { width: 105px; margin: 0 -10px; }
  .card-frame { width: 120px; } 
  .align-left, .align-right { width: 115px; }
  .site-title { font-size: 2.4rem; }
}

/* --- Q&A Accordion --- */
.qa-accordion {
  border-bottom: 1px solid var(--accent-gold);
  margin-bottom: 0.5rem;
}

.qa-accordion summary {
  font-family: 'Amarante', serif;
  font-size: 1.4rem;
  color: var(--accent-purple);
  cursor: pointer;
  padding: 1.25rem 0;
  list-style: none; /* Removes default browser arrows */
  position: relative;
  transition: color 0.2s ease;
}

/* Removes default webkit arrows */
.qa-accordion summary::-webkit-details-marker {
  display: none; 
}

/* Custom expand/collapse icons using the gold accent */
.qa-accordion summary::after {
  content: '+';
  position: absolute;
  right: 0;
  color: var(--accent-gold);
  font-size: 1.8rem;
  line-height: 1;
}

.qa-accordion[open] summary::after {
  content: '−';
}

.qa-accordion summary:hover {
  color: var(--text-color);
}

.qa-accordion p {
  padding-bottom: .5rem;
  padding-right: 2rem; /* Keeps text from running into the +/- icon */
  color: var(--text-color);
  animation: fadeDown 0.3s ease-out;
}

/* Subtle animation when opening the accordion */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Contact Page Styles --- */
.contact-heading {
  font-family: 'Amarante', serif;
  font-size: 2.2rem;
  font-weight: normal;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  color: #4a4a4a;
}

.site-contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Amarante', serif;
  font-size: 1.15rem;
  color: var(--text-color);
  letter-spacing: 0.02em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.1rem;
  color: var(--text-color);
  background-color: #fff;
  border: 1.5px solid #d4cfc7;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* Focus states using gold accent */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(217, 154, 56, 0.2);
}

/* Custom styled dropdown container */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--accent-purple);
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Submit Button */
.submit-btn {
  align-self: center;
  font-family: 'Amarante', serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  background-color: var(--accent-purple);
  color: #fff;
  border: 2px solid var(--accent-gold);
  border-radius: 25px;
  padding: 0.65rem 3rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* --- Fallback Contact Card --- */
.contact-heading {
  font-family: 'Amarante', serif;
  font-size: 2.2rem;
  font-weight: normal;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2rem;
  color: #4a4a4a;
}

.direct-contact-card {
  max-width: 520px;
  margin: 0 auto 2rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 2px solid var(--accent-gold);
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.direct-email-link {
  font-family: 'Amarante', serif;
  font-size: 1.6rem;
  color: var(--accent-purple);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
  word-break: break-word;
}

.direct-email-link:hover {
  color: var(--accent-gold);
}

.email-reasons {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(217, 154, 56, 0.4);
}

.reasons-label {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.preset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.preset-btn {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.05rem;
  color: var(--accent-purple);
  background-color: #faf8f5;
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.preset-btn:hover {
  background-color: var(--accent-purple);
  color: #fff;
}

/* --- Form Layout & Typography --- */
.contact-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  color: #4a4a4a;
}

.site-contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Amarante', serif;
  font-size: 1.15rem;
  color: var(--text-color);
  letter-spacing: 0.02em;
}

/* --- Input Fields --- */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.1rem;
  color: var(--text-color);
  background-color: #fff;
  border: 1.5px solid #d4cfc7;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* Focus state using your gold accent token */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(217, 154, 56, 0.2);
}

/* --- Dropdown Styling --- */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--accent-purple);
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* --- Submit Button --- */
.submit-btn {
  /* Replaced align-self: center with block and auto-margins */
  display: block;
  margin: 0.5rem auto 0; 
  
  /* The rest of your existing styles remain unchanged */
  font-family: 'Amarante', serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  background-color: var(--accent-purple);
  color: #fff;
  border: 2px solid var(--accent-gold);
  border-radius: 25px;
  padding: 0.65rem 3rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* --- Static Blog & Post Layouts --- */
.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-title {
  font-family: 'Amarante', serif;
  font-size: 2.3rem;
  margin: 1.5rem 0 0.35rem;
  color: #1a1a1a;
}

.post-meta {
  font-size: 0.95rem;
  color: #666;
  letter-spacing: 0.03em;
}

.post-back-link {
  margin-top: 2rem;
  font-size: 1rem;
}

/* --- Blog Feed Listing --- */
.post-feed-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.post-feed-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(217, 154, 56, 0.35); /* Soft accent gold */
}

.post-feed-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.feed-date {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.2rem;
}

.feed-title {
  font-family: 'Amarante', serif;
  font-size: 1.5rem;
  color: var(--accent-purple);
  text-decoration: none;
  transition: color 0.2s ease;
}

.feed-title:hover {
  color: var(--accent-gold);
}

.feed-excerpt {
  margin: 0.4rem 0 0;
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- Blog Post Image Divider --- */
.blog-img-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem auto 1.75rem;
  width: 100%;
}

.divider-art {
  display: block;
  max-width: 240px; /* Adjust up or down depending on your image dimensions */
  width: 100%;
  height: auto;
  opacity: 0.9;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 520px) {
  .divider-art {
    max-width: 180px; /* Scales down gently for mobile viewports */
  }
}