/* ================================================================
   styles.css — Pixel Loom & Enkidu
   Shared styles for all pages + Home-page-specific styles.

   SECTIONS
   1. Custom properties (color, font variables)
   2. Reset / base
   3. Shared: navigation
   4. Shared: ornamental divider
   5. Shared: footer
   6. Home page: hero
   7. Home page: hero image
   8. Home page: path cards
   9. Responsive (mobile)
   ================================================================ */


/* ----------------------------------------------------------------
   1. CUSTOM PROPERTIES
   Change these to update the whole site's palette at once.
   ---------------------------------------------------------------- */
:root {
  --ink:       #1c1814;   /* near-black for body text */
  --parchment: #f5efe4;   /* warm off-white background */
  --warm-mid:  #e8dcc8;   /* soft beige for borders */
  --sienna:    #8b5e3c;   /* warm brown accent */
  --ash:       #6b6258;   /* muted gray for secondary text */
  --gold:      #c9a84c;   /* soft gold accent */
  --moss:      #ACE1AF;
}


/* ----------------------------------------------------------------
   2. RESET / BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--parchment);
  color: var(--ink);
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 300;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}


/* ----------------------------------------------------------------
   2b. GENERIC PAGE CONTENT
   Basic styles for About, Gallery, and Contact placeholder pages.
   These keep headings and body text readable until those pages
   get their own proper layouts.
   ---------------------------------------------------------------- */
main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 32px;
}

main h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
}

main p {
  font-family: 'Crimson Pro', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ash);
  margin-bottom: 1.2em;
}


/* ----------------------------------------------------------------
   3. SHARED: NAVIGATION
   Paste <nav class="site-nav">...</nav> into every page.
   ---------------------------------------------------------------- */
.site-nav {
  padding: 20px 32px;
  border-bottom: 1px solid var(--warm-mid);
  text-align: center;
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

/* Highlight the current page link */
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--sienna);
  border-bottom-color: var(--sienna);
}


/* ----------------------------------------------------------------
   4. SHARED: ORNAMENTAL DIVIDER
   Use <div class="ornamental-divider" aria-hidden="true"><span>✦</span></div>
   ---------------------------------------------------------------- */
.ornamental-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.ornamental-divider::before,
.ornamental-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sienna), transparent);
}

.ornamental-divider span {
  color: var(--moss);
  font-size: 1rem;
}


/* ----------------------------------------------------------------
   5. SHARED: FOOTER
   Paste <footer class="site-footer">...</footer> into every page.
   ---------------------------------------------------------------- */
.site-footer {
  text-align: center;
  padding: 40px 32px;
  margin-top: 60px;
  border-top: 1px solid var(--warm-mid);
  font-family: 'Crimson Pro', serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}


/* ----------------------------------------------------------------
   6. HOME PAGE: HERO
   Used only on index.html.
   ---------------------------------------------------------------- */
.home-hero {
  text-align: center;
  padding: 56px 32px 40px;
  max-width: 680px;
  margin: 0 auto;
}

/* Stamp / logo mark */
.home-stamp {
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
}

.home-stamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Warm the stamp so it reads as pressed rather than digital */
  filter: sepia(0.4) contrast(1.1) brightness(0.9);
  mix-blend-mode: multiply;
}

/* Site name */
.home-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

/* The ampersand gets a sienna accent, matching the About page */
.home-title em {
  font-style: italic;
  color: var(--sienna);
}

/* Short tagline under the name */
.home-tagline {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--ash);
  line-height: 1.75;
  max-width: 440px;
  margin: 0 auto;
}


/* ----------------------------------------------------------------
   7. HOME PAGE: HERO IMAGE
   The block is visible whether or not the photo exists yet.
   When images/home-hero.jpg is added it will appear automatically.
   ---------------------------------------------------------------- */
.home-hero-image {
  width: 100%;
  max-width: 860px;
  height: 340px;
  margin: 40px auto;
  padding: 0 32px;

  /* Placeholder color — visible until the real photo is dropped in */
  background-color: var(--warm-mid);

  /* Real photo — add images/home-hero.jpg to your images folder */
  background-image: url('images/home-hero.jpg');
  background-size: cover;
  background-position: center;
}


/* ----------------------------------------------------------------
   8. HOME PAGE: PATH CARDS
   Three equal-width cards linking to Gallery, About, Contact.
   Each <a> is the full card so the whole block is clickable.
   ---------------------------------------------------------------- */
.home-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 0;
  padding: 0 32px;
}

.path-card {
  display: block;            /* makes the whole card a link */
  padding: 28px 22px;
  border: 1px solid var(--warm-mid);
  background-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 0.2s, background-color 0.2s;
}

/* Sienna top-bar accent — matches the About page card style */
.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--sienna);
}

.path-card:hover {
  border-color: var(--sienna);
  background-color: rgba(255, 255, 255, 0.6);
}

.path-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.path-card p {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ash);
  font-style: italic;
}


/* ----------------------------------------------------------------
   9. RESPONSIVE — MOBILE
   Below 600px the three cards stack into a single column,
   and the hero image gets a shorter height.
   ---------------------------------------------------------------- */
@media (max-width: 600px) {

  .home-paths {
    grid-template-columns: 1fr;
  }

  .home-hero-image {
    height: 220px;
    padding: 0 20px;
  }

  .site-nav ul {
    gap: 20px;
  }
}
/* ----------------------------------------------------------------
   10. ABOUT PAGE
   ---------------------------------------------------------------- */
.about-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 10px;
}

.about-subtitle {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ash);
    letter-spacing: 0.04em;
}
.about-definitions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.about-card {
    padding: 24px;
    border: 1px solid var(--warm-mid);
    background: rgba(255, 255, 255, 0.4);
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--sienna);
}

.about-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ash);
    font-style: italic;
}
.about-prose p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--ink);
    margin-bottom: 1.6em;
}

.about-prose strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    color: var(--sienna);
}

.about-quote {
    border-left: 3px solid var(--moss);
    margin: 36px 0 36px 24px;
    padding: 12px 24px;
    background: rgba(139, 94, 60, 0.05);
}

.about-quote p {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--ash);
}
@media (max-width: 600px) {
    .about-definitions {
        grid-template-columns: 1fr;
    }
}
/* ----------------------------------------------------------------
   11. GALLERY PAGE
   ---------------------------------------------------------------- */

.gallery-header {
    text-align: center;
    margin-bottom: 48px;
}

.gallery-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
}

.gallery-header p {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ash);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}
/* ----------------------------------------------------------------
   12. CONTACT PAGE
   ---------------------------------------------------------------- */

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
}

.contact-header p {
    font-family: 'IM Fell English', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ash);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.contact-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid var(--warm-mid);
    background: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.contact-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ash);
}

.contact-note {
    margin-top: 12px;
    font-style: italic;
}