@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --forest: #174333;
  --deep: #11352a;
  --clay: #963f24;
  --cream: #fbf6ec;
  --sand: #f2e8d8;
  --paper: #fffcf6;
  --muted: #4b5d51;
  --line: #d8c9b5;
  --gutter: clamp(1.25rem, 7vw, 8rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--forest); font-family: 'DM Sans', system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
header {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem var(--gutter); border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.logo img { object-fit: contain; }
.logo small { display: block; margin-top: .25rem; font-size: .7rem; font-weight: 600; }
nav { display: flex; gap: clamp(.75rem, 2vw, 2rem); align-items: center; font-size: .875rem; font-weight: 700; }
nav a { text-decoration: none; }
nav > a:not(.pill):hover { text-decoration: underline; text-underline-offset: .25em; }
.pill, .button {
  display: inline-flex; align-items: center; min-height: 44px; padding: .7rem 1.25rem;
  background: var(--forest); color: white; border-radius: 2rem;
  text-decoration: none; font-size: .875rem; font-weight: 700;
}
.pill:hover, .button:hover { background: var(--deep); }
.language-switch { display: flex; gap: .15rem; padding: .2rem; border: 1px solid var(--line); border-radius: 2rem; }
.language-switch a { display: grid; place-items: center; min-width: 40px; min-height: 40px; border-radius: 2rem; }
.language-switch a[aria-current] { background: var(--forest); color: white; }
.language-switch a:not([aria-current]):hover { background: var(--sand); }
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(2rem, 6vw, 7rem); padding: clamp(3rem, 7vw, 7rem) var(--gutter);
}
.eyebrow, .kicker { color: var(--clay); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1, h2 { margin: .35em 0; font-size: clamp(2.2rem, 4.1vw, 4.3rem); line-height: 1.03; letter-spacing: -.05em; font-weight: 800; }
.hero h1 { font-size: clamp(2.65rem, 5.25vw, 5.7rem); }
.hero h1 em { color: var(--clay); font-style: normal; }
.lead, .section p, .closing p { color: var(--muted); line-height: 1.7; }
.lead { font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 34rem; }
.hero .button { margin-top: .75rem; }
.hero-art {
  margin: 0; display: grid; place-items: center; min-width: 0; padding: clamp(1.25rem, 4vw, 4rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: 42% 42% 1.5rem 1.5rem / 19% 19% 1.5rem 1.5rem;
}
.hero-art img { display: block; width: 100%; max-width: 31rem; height: auto; }
.strip {
  background: var(--forest); color: var(--cream); padding: 1.35rem var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-weight: 700; font-size: .875rem;
}
.section { padding: clamp(3.5rem, 8vw, 8rem) var(--gutter); }
.intro, .help { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 8vw, 8rem); }
.intro .big { color: var(--clay); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 600; }
.projects { background: var(--sand); }
.projects-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.projects-head p { max-width: 24rem; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.card { padding: clamp(1.1rem, 2vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: 1.2rem 1.2rem .35rem .35rem; }
.card::before { content: ''; display: block; width: 2.75rem; height: .7rem; border-bottom: 3px solid var(--clay); border-radius: 0 0 100% 65%; margin-bottom: 1.25rem; }
.card h3, .way h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.card p, .way p { font-size: .95rem; }
.ways { border-top: 1px solid var(--line); }
.way { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.way p { margin: .4rem 0 0; }
.closing { padding: clamp(3rem, 7vw, 7rem) var(--gutter); background: var(--forest); color: var(--cream); display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.closing h2 { max-width: 42rem; }
.closing p { color: #f0e8d8; max-width: 39rem; }
.closing .eyebrow { color: #f2b99e; }
.closing .button { flex-shrink: 0; background: var(--cream); color: var(--forest); }
.closing .button:hover { background: var(--sand); }
.note { font-size: .85rem; }
footer { padding: 2rem var(--gutter); display: flex; justify-content: space-between; gap: 1rem; background: var(--deep); color: var(--cream); font-size: .85rem; }

@media (max-width: 1000px) {
  nav > a:not(.pill) { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero, .intro, .help { grid-template-columns: 1fr; }
  .hero-art { max-width: 32rem; }
  .projects-head, .closing { display: block; }
  .closing .button { margin-top: 1rem; }
  footer { flex-direction: column; }
}
@media (max-width: 520px) {
  header { flex-wrap: wrap; gap: .65rem; }
  header nav { flex-wrap: wrap; gap: .5rem; }
  nav > .pill:not(.member-login):not(.shop-link) { display: none; }
  nav > .member-login { padding-inline: .85rem; white-space: nowrap; }
  .logo { font-size: 1rem; gap: .45rem; }
  .logo small { font-size: .65rem; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.news h2 { margin-bottom: 1.75rem; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.news time { display: block; margin-bottom: .75rem; color: var(--muted); font-size: .9rem; }
.news article a, .news-actions > a:last-child { font-weight: 700; }
.news-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }

.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.founders-grid .card { padding: 1rem; min-height: auto; font-weight: 700; }

.founder-page h1 { margin: 1.5rem 0 .75rem; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.founder-page .founders-grid { margin-top: 2rem; gap: 1rem; }
.founders-grid .founder { padding: 1rem; font-weight: 400; }
.founder-portrait { width: min(100%, 8rem); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; background: var(--sand); color: var(--forest); border-radius: .75rem; overflow: hidden; }
.founder-portrait span { font-size: 2rem; font-weight: 800; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder h2 { margin: 1rem 0 .25rem; font-size: 1.25rem; }
.founder p { margin: .25rem 0; }
.founder-contact { font-size: .9rem; }

.founder-contact a { overflow-wrap: anywhere; }

.farm-photo { display: block; width: 100%; height: auto; border-radius: 1rem; }
.story-photo { max-width: 34rem; margin-top: 1.25rem; }
.news-photo { max-width: 22rem; margin: 0 0 1rem; }

.facebook-link { display: inline-flex; align-items: center; gap: .75rem; }
.facebook-link img { border-radius: .75rem; object-fit: cover; flex-shrink: 0; }

.news-video { grid-column: 1 / -1; }
.news-video video { display: block; width: 100%; max-width: 42rem; height: auto; aspect-ratio: 16 / 9; border-radius: 1rem; background: var(--forest); margin: 1rem 0; }

.sponsor-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; list-style: none; margin: 2rem 0; padding: 0; }
.sponsor-gallery a { display: block; border-radius: .75rem; }
.sponsor-gallery img { display: block; width: 100%; height: auto; border-radius: .75rem; }

.history-chapters { max-width: 44rem; margin: 2rem 0; }
.history-chapters section + section { margin-top: 1.75rem; }
.history-chapters h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: .5rem; }
.history-chapters p { margin: 0; }

.history-chapters p + p { margin-top: .75rem; }

.way summary { display: flex; align-items: start; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.way summary::-webkit-details-marker { display: none; }
.way summary::after { content: "+"; font-size: 1.45rem; line-height: 1; }
.way[open] summary::after { content: "−"; }
.way summary strong { display: block; font-size: 1.2rem; }
.way-teaser { display: block; color: var(--muted); margin-top: .4rem; line-height: 1.7; }
.way-details { margin-top: .75rem; }
.way-details ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: .75rem 0 0; }
.way-details a { font-weight: 700; }

.participation-links { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.participation-links .button { display: inline-flex; align-items: center; gap: .5rem; }
.participation-links img { flex-shrink: 0; border-radius: .35rem; }

.way-details .participation-links { margin-top: 1rem; }
.sponsor-payment { background: var(--paper); border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; }
.sponsor-payment dt { font-weight: 700; }
.sponsor-payment dd { margin: .2rem 0 .75rem; overflow-wrap: anywhere; }
.sponsor-payment dd:last-child { margin-bottom: 0; }

.hero-art figcaption { margin-top: .35rem; text-align: center; font-size: clamp(.9rem, 2.1vw, 1.35rem); font-weight: 600; line-height: 1.45; }

.expandable-card { align-self: start; }
.expandable-card > summary { display: flex; align-items: start; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.expandable-card > summary::-webkit-details-marker { display: none; }
.expandable-card > summary::after { content: "+"; flex-shrink: 0; font-size: 1.45rem; line-height: 1; }
.expandable-card[open] > summary::after { content: "−"; }
.expandable-card .card-title { display: block; font-size: 1.2rem; font-weight: 700; }
.expandable-card .card-content { margin-top: 1rem; }
.news .expandable-card a { font-weight: 700; }

.shop-products input { display: block; width: 5rem; min-height: 44px; margin-top: .75rem; font: inherit; }
#shop h2 { margin-top: 1.5rem; }
#shop button { border: 0; cursor: pointer; }
#shop button:disabled { opacity: .55; cursor: default; }

.shop-photo { display: block; width: 100%; height: auto; border-radius: .75rem; margin-bottom: .85rem; }
.shop-form label { display: block; margin: .75rem 0; font-weight: 600; }
.shop-form input, .shop-form select { display: block; width: 100%; max-width: 22rem; min-height: 44px; padding: .4rem; font: inherit; }
#shop fieldset { margin: 1rem 0; border: 1px solid var(--line); border-radius: .75rem; }
.shop-form button, #logout { border: 0; cursor: pointer; }
#orders li { margin: .75rem 0; }

#account-forms[hidden] { display: none; }
header nav { flex-wrap: wrap; }

header .language-switch { margin-left: auto; flex-shrink: 0; }
.menu-toggle { display: none; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block: 1rem; }
.support-heading { padding: 1rem; }
.sponsor-steps, .goat-section { margin-block: 2rem; }
.sponsor-steps li + li { margin-top: .6rem; }
.copy-iban, .menu-toggle { font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: .55rem; padding: .45rem .65rem; cursor: pointer; }
.goat-gallery { padding: 0; list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
.goat-gallery li { overflow: hidden; border: 1px solid #b9c6b6; border-radius: .7rem; }
.goat-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.goat-gallery strong { display: block; padding: .5rem .65rem; }

@media (max-width: 1100px) {
  header { flex-wrap: wrap; gap: .6rem; }
  header #main-nav { flex-basis: 100%; align-items: stretch; flex-direction: column; gap: .2rem; max-height: 55vh; overflow-y: auto; }
  header #main-nav > a { display: block; padding: .5rem .65rem; }
  .has-menu .menu-toggle { display: inline-block; }
  .has-menu .menu-toggle[aria-expanded="false"] + #main-nav { display: none; }
}

.farm-contact {
  display: grid;
  gap: .35rem;
  font-style: normal;
  overflow-wrap: anywhere;
}
.farm-contact a {
  color: inherit;
  width: fit-content;
  max-width: 100%;
  text-decoration: underline;
}
footer .farm-contact {
  margin-top: .4rem;
}
