/*
Theme Name: MoorEnd Trust
Theme URI: https://moorendtrust.org/
Author: Built for MoorEnd Trust
Author URI: https://moorendtrust.org/
Description: Bespoke theme for MoorEnd Development Trust — a community charity serving the Pennines Township of Rochdale. Features a heather/moss/coral palette, Fraunces + Manrope typography, and dedicated templates for the Hare Hill House workspace, project pages and news.
Version: 1.8.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moorend
Tags: charity, community, non-profit, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, block-styles
*/

/* =========================================================
   MoorEnd Trust — WordPress Theme Stylesheet
   Note: The main visual styles live in assets/css/main.css
   This file exists to carry the theme header above.
   All WordPress-specific CSS follows below.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* Brand colours — matched to MoorEnd logo (teal + orange) */
  --cream: #f6f1e7;
  --cream-deep: #ece3d1;
  --stone: #d9cfb9;
  --ink: #1d1d1b;
  --ink-soft: #3a3a37;

  /* Primary: TEAL (from 'MOOR' in logo) */
  --teal: #006e78;
  --teal-deep: #004a52;
  --teal-dark: #002e33;
  --teal-light: #1c8a96;

  /* Accent: ORANGE (from 'END' in logo) */
  --orange: #d26e14;
  --orange-deep: #a8560d;
  --orange-light: #e8882a;

  /* Supporting: warm amber (harmonises with both) */
  --amber: #c8932a;
  --amber-deep: #9a7020;

  /* Highlight used in italics on dark backgrounds */
  --gold: #ffd27a;

  /* Legacy aliases so every template keeps working ---
     These names are used throughout the templates. Rather than
     rename everywhere, we simply re-point them to the new brand. */
  --heather: var(--teal);
  --heather-deep: var(--teal-deep);
  --moss: var(--amber);
  --moss-deep: var(--amber-deep);
  --coral: var(--orange);
  --coral-deep: var(--orange-deep);

  --white: #ffffff;
  --shadow: 0 20px 60px -30px rgba(29,29,27,.35);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --container: 1200px;
}

/* ---------- WordPress core classes (required) ---------- */
.alignleft  { float: left;  margin: .5em 1.5em 1em 0; }
.alignright { float: right; margin: .5em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { max-width: 100%; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption {
  font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: .5em;
}

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%);
  clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--cream); clip: auto !important; clip-path: none;
  color: var(--ink); display: block; font-size: 14px; font-weight: 700;
  height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

.sticky { position: relative; }
.bypostauthor { font-style: normal; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--heather-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-deep);
}
.header-top {
  display: flex; justify-content: flex-end; gap: 1.5rem;
  padding: .55rem 0;
  font-size: .85rem;
  border-bottom: 1px solid var(--cream-deep);
}
.header-top a { color: var(--ink-soft); }
.header-top .donate-btn {
  background: var(--coral); color: var(--white);
  padding: .35rem 1rem; border-radius: 999px;
  font-weight: 600;
}
.header-top .donate-btn:hover { background: var(--coral-deep); color: var(--white); }

.header-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.brand--has-logo { padding: .25rem 0; }
.brand--has-logo .custom-logo-link { display: inline-block; line-height: 0; }
.brand--has-logo .custom-logo {
  height: auto;
  max-height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
@media (max-width: 600px) {
  .brand--has-logo .custom-logo { max-height: 40px; max-width: 160px; }
}
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--heather);
  display: grid; place-items: center;
  color: var(--cream);
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  box-shadow: inset 0 0 0 3px var(--cream), 0 0 0 2px var(--heather);
}
.brand-logo { max-height: 60px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand-text span { display: block; font-size: .78rem; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }

/* Top-level menu only */
nav.primary > ul,
nav.primary .primary-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.6rem; align-items: center;
}
nav.primary li { position: relative; list-style: none; }
nav.primary a {
  color: var(--ink); font-weight: 600; font-size: .98rem;
  padding: .4rem 0; position: relative;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .4em;
}
nav.primary > ul > li > a::after,
nav.primary .primary-menu > li > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
nav.primary > ul > li > a:hover::after,
nav.primary > ul > li.current-menu-item > a::after,
nav.primary > ul > li.current_page_item > a::after,
nav.primary > ul > li.current-menu-ancestor > a::after,
nav.primary .primary-menu > li > a:hover::after { transform: scaleX(1); }

/* Chevron on parent items — uses inline border-triangle so it never misaligns */
nav.primary li.menu-item-has-children > a {
  padding-right: 14px;
}
nav.primary li.menu-item-has-children > a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .55;
  margin-left: .35em;
  vertical-align: middle;
  position: relative;
  top: 1px;
  order: 2;
  flex-shrink: 0;
}

/* Submenus — hidden by default, appear on hover/focus/tap */
nav.primary ul.sub-menu,
nav.primary ul ul {
  position: absolute;
  top: 100%;
  left: -1rem;
  margin-top: 8px;
  padding: .5rem 0;
  min-width: 240px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px -15px rgba(29,29,27,.25), 0 0 0 1px var(--cream-deep);
  list-style: none;
  display: flex !important;      /* override any earlier display:flex row */
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 100;
  pointer-events: none;
}
/* Visual bridge so the cursor can cross from trigger to menu */
nav.primary li.menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
nav.primary li:hover > ul.sub-menu,
nav.primary li:hover > ul,
nav.primary li:focus-within > ul.sub-menu,
nav.primary li:focus-within > ul,
nav.primary li.submenu-open > ul.sub-menu,
nav.primary li.submenu-open > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
nav.primary ul.sub-menu li,
nav.primary ul ul li { margin: 0; width: 100%; position: relative; }
nav.primary ul.sub-menu a,
nav.primary ul ul a {
  display: block !important;
  padding: .55rem 1.25rem;
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
  width: 100%;
}
nav.primary ul.sub-menu a::after,
nav.primary ul ul a::after { display: none !important; }
nav.primary ul.sub-menu a:hover,
nav.primary ul ul a:hover {
  background: var(--cream-deep);
  color: var(--teal);
}

.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 900px) {
  nav.primary {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--cream-deep);
    box-shadow: 0 20px 40px -15px rgba(29,29,27,.15);
  }
  nav.primary.open { display: block; }
  nav.primary > ul,
  nav.primary .primary-menu { flex-direction: column; gap: .5rem; align-items: stretch; }
  nav.primary li.menu-item-has-children::after { display: none; }
  nav.primary ul.sub-menu,
  nav.primary ul ul {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    padding: .25rem 0 .25rem 1rem;
    min-width: 0;
    border-left: 2px solid var(--cream-deep);
    margin-top: .25rem;
  }
  .menu-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  transition: transform .15s ease, background .2s;
  border: 0; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-deep); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-arrow::after { content: '→'; font-size: 1.1em; transition: transform .2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--heather-deep);
  color: var(--cream);
  min-height: 70vh;
  display: grid; align-items: end;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(28,138,150,.45), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(210,110,20,.35), transparent 55%),
    linear-gradient(135deg, #004a52 0%, #002126 70%);
}
.hero-bg.has-image {
  background-size: cover; background-position: center;
}
.hero-bg.has-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,74,82,.72) 0%, rgba(0,33,38,.85) 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(246,241,231,.08) 0%, transparent 40%),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(246,241,231,.015) 8px 9px);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 7rem 0 5rem;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--gold);
}
.hero h1 {
  color: var(--cream);
  max-width: 18ch;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-lead {
  max-width: 55ch; font-size: 1.15rem; margin: 1.2rem 0 2.2rem;
  color: rgba(246,241,231,.95);
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta .btn-outline { color: var(--cream); border-color: var(--cream); }
.hero-cta .btn-outline:hover { background: var(--cream); color: var(--ink); }

.hero-sub { min-height: 48vh; }
.hero-sub .hero-content { padding: 5rem 0 3.5rem; }

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-label {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--coral); margin-bottom: .9rem;
}
.section-lead { font-size: 1.15rem; max-width: 62ch; color: var(--ink-soft); }
.bg-cream-deep { background: var(--cream-deep); }

/* ---------- Tiles grid ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/5;
  background: var(--stone);
  color: var(--cream);
  text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(29,29,27,.5); color: var(--cream); }
.tile .tile-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
  z-index: 0;
}
.tile:hover .tile-img { transform: scale(1.06); }
.tile::after {
  content: ''; position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.25) 45%,
    rgba(0,0,0,.82) 75%,
    rgba(0,0,0,.95) 100%);
}
.tile > * { position: relative; z-index: 2; }
.tile h3 {
  color: #ffffff;
  margin: 0 0 .2rem;
  font-size: 1.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.9);
}
.tile .tile-link {
  color: #ffffff;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.9);
}
.tile .tile-eyebrow {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.9), 0 1px 3px rgba(0,0,0,.95);
}

.tile-heather .tile-img { background: linear-gradient(135deg, var(--heather) 0%, var(--heather-deep) 100%); }
.tile-moss .tile-img    { background: linear-gradient(135deg, var(--moss) 0%, var(--moss-deep) 100%); }
.tile-coral .tile-img   { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%); }
.tile-stone .tile-img   { background: linear-gradient(135deg, #8a7c5f 0%, #5a4f3a 100%); }

/* ---------- About split ---------- */
.about-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem;
  align-items: center;
}
@media (max-width: 800px) { .about-split { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-img-stack {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-deep) 100%);
  box-shadow: var(--shadow);
}
.about-img-stack.has-image { background-size: cover; background-position: center; }
.about-img-stack::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(246,241,231,.15) 0%, transparent 40%),
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(0,0,0,.08) 16px 17px);
}
.about-img-stack.has-image::before { display: none; }
.about-img-stack .badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: var(--cream); color: var(--ink);
  padding: 1.2rem 1.4rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.about-img-stack .badge strong { font-size: 2.2rem; color: var(--heather); display: block; line-height: 1; }
.about-img-stack .badge span { font-family: var(--font-body); font-size: .85rem; color: var(--ink-soft); }

/* ---------- News cards ---------- */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none; color: var(--ink);
  box-shadow: 0 10px 30px -20px rgba(29,29,27,.3);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(29,29,27,.35); color: var(--ink); }
.news-card .thumb {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  background-color: var(--cream-deep);
}
.news-card .body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: .4rem; }
.news-card h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.news-card .excerpt { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Workspace page ---------- */
.workspace-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 800px) { .workspace-intro { grid-template-columns: 1fr; } }
.workspace-intro img {
  border-radius: var(--radius-md); box-shadow: var(--shadow);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}

.features { background: var(--cream-deep); }
.features .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem 2.5rem; margin-top: 3rem;
}
.feature { display: flex; gap: 1.2rem; }
.feature-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  background: var(--coral); color: var(--cream);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.4rem;
}
.feature h3 { font-size: 1.15rem; margin: .15rem 0 .3rem; }
.feature p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.price-callout {
  background: var(--heather-deep); color: var(--cream);
  text-align: center; padding: 4.5rem 0;
  position: relative; overflow: hidden;
}
.price-callout::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(210,110,20,.28) 0%, transparent 70%);
}
.price-callout > * { position: relative; z-index: 2; }
.price-callout .price {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; margin: 0 0 .4rem;
}
.price-callout .price em { font-style: italic; color: var(--gold); font-weight: 400; }
.price-callout .price-suffix { font-size: 1.1rem; opacity: .85; margin-bottom: 2rem; }

.find-us { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
@media (max-width: 800px) { .find-us { grid-template-columns: 1fr; } }
.find-us h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.find-us .map-placeholder {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(0,110,120,.08), rgba(200,147,42,.12)),
    var(--cream-deep);
  display: grid; place-items: center;
  text-align: center; padding: 2rem;
  color: var(--ink-soft);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.find-us .map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, transparent 49.5%, rgba(29,29,27,.08) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(29,29,27,.08) 49.5% 50.5%, transparent 50.5%),
    repeating-linear-gradient(0deg, transparent 0 60px, rgba(29,29,27,.05) 60px 61px),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(29,29,27,.05) 60px 61px);
}
.find-us .map-pin {
  position: relative; z-index: 2;
  width: 42px; height: 42px; border-radius: 50% 50% 50% 0;
  background: var(--coral);
  transform: rotate(-45deg);
  box-shadow: 0 10px 20px -5px rgba(29,29,27,.4);
  margin-bottom: 1.5rem;
}
.find-us .map-pin::after {
  content: ''; position: absolute; top: 12px; left: 12px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--cream);
}
.find-us .map-label {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink);
}

/* Enquiry form */
.enquiry { background: var(--ink); color: var(--cream); }
.enquiry h2 { color: var(--cream); }
.enquiry .section-label { color: var(--gold); }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem;
  margin-top: 2.5rem; max-width: 720px;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(246,241,231,.7); }
.form-grid input, .form-grid textarea {
  width: 100%; padding: .9rem 1rem;
  background: rgba(246,241,231,.08);
  border: 1px solid rgba(246,241,231,.2);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--coral); background: rgba(246,241,231,.12);
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .checkbox { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: rgba(246,241,231,.8); }

/* Post content */
.post-content {
  max-width: 70ch; margin: 0 auto;
  font-size: 1.08rem; color: var(--ink-soft);
}
.post-content p { margin-bottom: 1.2em; }
.post-content h2, .post-content h3 { color: var(--ink); margin-top: 2em; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.post-content li { margin-bottom: .4em; }
.post-content blockquote {
  border-left: 4px solid var(--heather);
  padding: .3em 1.2em;
  margin: 1.5em 0;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.2em;
  color: var(--ink);
}
.post-content img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.post-content a { color: var(--coral-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.post-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--coral); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: .5rem; margin: 3rem 0;
}
.pagination a, .pagination span {
  padding: .6rem 1rem; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
  box-shadow: 0 4px 15px -10px rgba(29,29,27,.2);
  font-weight: 600;
}
.pagination .current { background: var(--heather); color: var(--cream); }
.pagination a:hover { background: var(--coral); color: var(--white); }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid a { color: rgba(246,241,231,.75); font-size: .95rem; }
.footer-grid a:hover { color: var(--cream); }
.footer-brand p { color: rgba(246,241,231,.6); font-size: .92rem; max-width: 32ch; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(246,241,231,.08);
  display: grid; place-items: center;
  font-size: .85rem; font-weight: 700;
  color: var(--cream); transition: background .2s;
}
.socials a:hover { background: var(--coral); color: var(--cream); }
.mailing {
  background: var(--heather-deep);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.mailing h3 { color: var(--cream); margin: 0 0 .2rem; font-size: 1.4rem; }
.mailing p { margin: 0; color: rgba(246,241,231,.8); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(246,241,231,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(246,241,231,.55);
}
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; }
.footer-bottom a {
  color: rgba(246,241,231,.75);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a:hover {
  color: var(--gold);
}

/* Prose helper */
.prose { max-width: 70ch; }
.prose p { font-size: 1.05rem; color: var(--ink-soft); }

/* Objects list (About page) */
.objects-list {
  margin: 2rem 0; padding: 0; list-style: none;
  display: grid; gap: 1rem;
}
.objects-list li {
  display: flex; gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--heather);
  font-size: 1rem;
  box-shadow: 0 4px 15px -10px rgba(29,29,27,.2);
}
.objects-list .n {
  flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--coral);
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp .7s ease-out both; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .2s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .4s; }

/* Block editor alignment */
.entry-content > * { max-width: 70ch; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1000px; }
.entry-content > .alignfull { max-width: 100%; }
