@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --forest: #354633;
  --deep: #243024;
  --sage: #dce2d1;
  --gold: #a9874e;
  --ink: #292a24;
  --muted: #6b6b60;
  --line: rgba(53, 70, 51, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 1.7;
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  font-family: "Bodoni Moda", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-top: 0;
  color: var(--forest);
}

.wrap {
  max-width: 1250px;
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 5vw;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--forest);
}

.brand img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font: 500 1.35rem "Bodoni Moda", Georgia, serif;
  letter-spacing: 0.06em;
  color: var(--forest);
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark span {
  display: block;
  font: italic 500 0.62rem "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.22em;
  text-transform: none;
  margin-bottom: -0.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
}

.site-nav a {
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--gold);
}

.site-nav a.active {
  color: var(--forest);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--forest);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-cta svg {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.3rem 0.6rem;
  color: var(--forest);
  cursor: pointer;
}

/* Hero */

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 5rem 6vw 4rem;
  background: radial-gradient(circle at 85% 25%, #e5e7d9 0, transparent 29%), linear-gradient(135deg, var(--paper), var(--cream));
  overflow: hidden;
}

.hero-collage {
  background-image: linear-gradient(to right, rgba(251, 246, 236, 0.94) 0%, rgba(251, 246, 236, 0.8) 42%, rgba(251, 246, 236, 0) 62%), url("/images/hero-collage.png");
  background-size: cover;
  background-position: center;
}

@media (max-width: 700px) {
  .hero-collage {
    background-image: linear-gradient(rgba(251, 246, 236, 0.95) 0%, rgba(251, 246, 236, 0.88) 55%, rgba(251, 246, 236, 0.7) 100%), url("/images/hero-collage.png");
  }
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero-lead {
  max-width: 650px;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: #4e5148;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.welcome {
  margin-top: 2rem;
  font: italic 500 1.1rem "Cormorant Garamond", Georgia, serif;
  color: var(--forest);
}

/* Buttons */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  font-family: "Manrope", Arial, Helvetica, sans-serif;
}

.button svg {
  flex-shrink: 0;
  color: var(--gold);
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--forest);
  color: white;
}

.quiet {
  border: 1px solid var(--gold);
  background: rgba(255, 255, 255, 0.65);
  color: var(--forest);
}

.light {
  background: var(--cream);
  color: var(--deep);
}

.outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  background: transparent;
}

.text-link {
  font-weight: 700;
  color: var(--forest);
  border-bottom: 1px solid var(--gold);
}

/* Promise strip (values line) */

.promise-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  padding: 1.15rem 5vw;
  background: var(--forest);
  color: #f8f3e8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promise-strip i {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-style: normal;
}

/* Photo grid (Home: South Wales imagery) */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 3rem 5vw;
  background: var(--paper);
}

.photo-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-grid img:nth-child(4),
  .photo-grid img:nth-child(5) {
    display: none;
  }
}

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

  .photo-grid img {
    height: 150px;
  }
}

/* Section layout */

.section {
  padding: clamp(4.5rem, 8vw, 8rem) 7vw;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.story-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-top: 2rem;
  border-radius: 8px;
}

.centered {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

/* Story (About: Belonging) */

.story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
}

.story-copy {
  max-width: 720px;
}

.large-copy {
  margin-top: 0;
  font: 500 1.35rem/1.55 "Cormorant Garamond", Georgia, serif;
  color: var(--forest);
}

blockquote {
  margin: 2rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--sage);
  border-left: 3px solid var(--gold);
  color: var(--forest);
  font: italic 500 1.4rem/1.55 "Cormorant Garamond", Georgia, serif;
}

/* Why / manifesto split panel */

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.why-card,
.manifesto {
  padding: clamp(2.5rem, 5vw, 5.5rem);
}

.why-card {
  background: var(--cream) url("/images/cream-botanical.png") center / cover;
}

.manifesto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  color: white;
}

.manifesto p {
  margin: 0;
  font: 500 1.6rem/1.5 "Cormorant Garamond", Georgia, serif;
}

.manifesto span {
  margin-top: 1.5rem;
  color: #d8c59d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Circles hero band */

.circles-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 6vw;
  background-image: radial-gradient(circle at 50% 40%, rgba(251, 246, 236, 0.93) 0%, rgba(251, 246, 236, 0.85) 45%, rgba(251, 246, 236, 0.55) 100%), url("/images/cream-banner.png");
  background-size: cover;
  background-position: center;
}

/* Circles idea grid */

.circles-section {
  background: #f3f0e8;
}

.idea-grid {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.idea {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--line);
  font: 400 1rem "Manrope", Arial, sans-serif;
  color: var(--forest);
}

.idea:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.idea span {
  color: var(--gold);
  font: 700 0.7rem "Manrope", Arial, sans-serif;
}

.circle-note {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 1.5rem;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
}

.circle-note strong {
  color: var(--forest);
  font: 500 1.25rem "Cormorant Garamond", Georgia, serif;
}

.circle-note p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Ways to participate (Community page) */

.community-feature-img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 2.5rem auto 0;
  border-radius: 8px;
}

.way-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  max-width: 1250px;
  margin: 3rem auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.way-grid article {
  min-height: 230px;
  padding: 1.75rem 1.4rem;
  background: var(--paper);
}

.way-grid h3 {
  font-size: 1.6rem;
}

.way-grid p {
  font-size: 0.9rem;
  color: var(--muted);
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Event card (Home: our first Circle) */

.events {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 8vw;
  background: var(--cream);
}

.event-card {
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(53, 70, 51, 0.1);
}

.event-card .status {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.7rem;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-card h3 {
  font-size: 2rem;
}

.event-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.event-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0;
  color: var(--muted);
}

.event-card a {
  color: var(--forest);
  font-weight: 700;
}

/* Community board (Online Corner) */

.community-board {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.community-board article {
  padding: 1.75rem;
  background: #f4f2eb;
  border-top: 3px solid var(--forest);
}

.community-board span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.community-board h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.5rem;
}

.community-board p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Page links (Home: links to other pages) */

.page-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1250px;
  margin: 3rem auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-links a {
  padding: 1.75rem 1.4rem;
  background: var(--paper);
}

.page-links h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.page-links p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Featured page */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.featured-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.featured-card h3 {
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.featured-photo {
  width: 100%;
  height: 160px;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
  display: block;
}

.featured-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage);
  border: 1px dashed var(--gold);
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* Get Involved: two doors */

.door-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 900px;
  margin: 3rem auto 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.door-card {
  padding: 2.5rem 2rem;
  background: var(--cream);
  color: var(--ink);
}

.door-card h2 {
  font-size: 1.6rem;
  margin: 0.5rem 0 0.75rem;
}

.door-card p {
  color: var(--muted);
  margin: 0;
}

.door-card:hover {
  background: var(--sage);
}

@media (max-width: 700px) {
  .door-grid {
    grid-template-columns: 1fr;
  }
}

.page-links a:hover h3 {
  color: var(--gold);
}

/* Venues split panel (Get Involved) */

.venues-section {
  background: var(--forest) url("/images/green-texture.png") center / cover;
  color: white;
}

.venue-copy {
  max-width: 760px;
  margin: 0 auto;
}

.venue-copy h1,
.venue-copy h2 {
  color: white;
}

.venue-copy p {
  max-width: 700px;
  color: #e7e8df;
}

.venue-copy .primary {
  background: var(--gold);
  color: var(--deep);
}

.venue-copy .text-link {
  font-weight: 700;
  color: white;
  border-bottom: 1px solid #d8c59d;
}

/* Full-content sections not covered above (venue details lists, opportunity lists, etc) */

ul.plain {
  padding-left: 1.2rem;
  margin: 0 0 1em;
}

ul.plain li {
  margin-bottom: 0.4em;
}

.callout {
  background: var(--sage);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  color: var(--forest);
}

/* Final CTA (closing banner) */

.final-cta {
  padding: 5rem 7vw;
  text-align: center;
  background: #263126 url("/images/green-texture.png") center / cover;
  color: white;
}

.final-cta h2 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
}

.final-cta p:not(.eyebrow) {
  font: italic 500 1.2rem "Cormorant Garamond", Georgia, serif;
  color: #e7e8df;
}

.centered-actions {
  justify-content: center;
}

.final-cta strong {
  display: block;
  margin-top: 2.5rem;
  font: italic 500 1.2rem "Cormorant Garamond", Georgia, serif;
  color: #d8c59d;
}

/* Contact / social */

.contact-block {
  text-align: center;
  margin: 2rem 0;
}

.contact-block img {
  width: 140px;
  height: auto;
  margin: 1.25rem 0;
}

.founder-credit {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--forest);
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Footer */

footer.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem 5vw;
  background: var(--cream);
  text-align: left;
  border-top: none;
}

footer.site-footer .wordmark {
  font-size: 1.1rem;
}

footer.site-footer p {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

footer.site-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Responsive */

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-header .site-nav.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
    padding-top: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .story,
  .why,
  .events,
  .venues {
    grid-template-columns: 1fr;
  }

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

  .community-board,
  .page-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .nav-cta {
    font-size: 0.68rem;
    padding: 0.6rem 0.7rem;
  }

  .hero {
    padding: 2.5rem 1.2rem 2rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .promise-strip {
    gap: 0.8rem;
  }

  .idea-grid,
  .way-grid,
  .community-board,
  .page-links {
    grid-template-columns: 1fr;
  }

  .idea:nth-child(odd) {
    border-right: 0;
  }

  .why {
    padding: 0;
  }

  .why-card,
  .manifesto,
  .venue-copy,
  .venue-quote {
    padding: 3rem 1.25rem;
  }

  footer.site-footer {
    flex-direction: column;
    text-align: center;
  }

  footer.site-footer .footer-links {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
