/* Mint Creek — warm reclaimed-wood / personalised photo gift studio.
   Design notes: kraft-paper ground, pine + mint palette, serif display
   headings, and a "mat-board frame" treatment on every image. */

:root {
  --paper: #f7f3ea;
  --paper-deep: #efe8d8;
  --ink: #2c2a26;
  --muted: #6f675a;
  --primary: #2f6149;   /* pine — used by enhance.py footer/hero */
  --accent: #57b894;    /* mint — used by enhance.py hero decoration */
  --line: #e2dac9;
  --card: #fffdf8;
  --radius: 4px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: var(--primary); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Header / nav ---- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 26px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover { color: var(--primary); border-bottom-color: var(--accent); }

/* ---- Hero ---- */
.hero { padding: 76px 24px 56px; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
.hero h1 { font-size: 2.9rem; margin: 0 0 18px; }
.hero p { font-size: 1.12rem; color: var(--muted); margin: 0 0 26px; max-width: 38ch; }

/* mat-board framed image */
.framed {
  background: #fff;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(44, 42, 38, 0.12);
}
.framed img { border-radius: 2px; }
.hero .framed { transform: rotate(-1.4deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .15s, transform .15s;
}
.btn:hover { background: #265340; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---- Sections ---- */
section { padding: 54px 0; }
section.tint { background: var(--paper-deep); }
.section-head { max-width: 60ch; margin-bottom: 34px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}
section h2 { font-size: 2rem; margin: 0 0 14px; }
section p { color: var(--muted); }
.lead { font-size: 1.12rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split.reverse > .framed { order: 2; }

/* ---- Card grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(44,42,38,.1); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; }
.tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--primary);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  padding: 3px 10px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.card p { font-size: 0.95rem; margin: 0; }

/* ---- Prose (guide / about) ---- */
.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 30px; font-size: 1.25rem; }
.prose p, .prose li { color: #3d3a33; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.pull {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 20px;
  margin: 28px 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}

.feature-img { margin: 0 0 28px; }

/* ---- CTA band ---- */
.cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}
.cta h2 { color: #fff; font-size: 2rem; margin: 0 0 12px; }
.cta p { color: rgba(255,255,255,.85); max-width: 50ch; margin: 0 auto 24px; }
.cta .btn { background: #fff; color: var(--primary); }
.cta .btn:hover { background: var(--paper); }

/* ---- Footer (enhance.py rebuilds this; styled here as fallback) ---- */
footer { background: #26241f; color: #cfc9bd; padding: 50px 0 30px; }
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.footer-grid a, .footer-grid p { color: #b7b1a4; text-decoration: none; display: block; margin: 4px 0; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom, .footer-meta {
  max-width: var(--maxw);
  margin: 34px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid #3a3730;
  font-size: 0.82rem;
  color: #8c867a;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > .framed { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  nav { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* LOGO:start */
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: var(--primary); letter-spacing: 0.02em; text-decoration: none; }
.brand-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--primary); }
.brand-icon path, .brand-icon circle, .brand-icon rect, .brand-icon polygon, .brand-icon line { vector-effect: non-scaling-stroke; }
.brand:hover .brand-icon { color: var(--accent); transition: color 0.15s ease; }
/* LOGO:end */

/* ENHANCE:start */
.hero {
  position: relative;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%);
}
.hero::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.hero::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 50%;
  margin-left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 500;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: left;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-grid h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-grid p,
.footer-grid a {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
  line-height: 1.5;
}
.footer-grid a:hover { color: var(--primary); }
.footer-meta {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.75;
  text-align: center;
  margin: 0;
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
}
/* ENHANCE:end */
