:root {
  --background: #ffffff;
  --surface: #f9f8f6;
  --surface-strong: #eeeeee;
  --ink: #221f20;
  --muted: #5f5759;
  --line: rgba(34, 31, 32, 0.14);
  --accent: #e27a27;
  --accent-dark: #964900;
  --max: 1120px;
  --gutter: 32px;
  color: var(--ink);
  background: var(--background);
  font-family: Lato, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: Forum, Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

h1 { font-size: clamp(2rem, 4.35vw, 3.5rem); line-height: 1.12; letter-spacing: 0.045em; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3vw, 2.35rem); line-height: 1.2; text-wrap: balance; }
h3 { font-size: clamp(1.5rem, 2vw, 1.72rem); line-height: 1.28; text-wrap: balance; }
p { color: var(--muted); font-size: 1.05rem; line-height: 1.72; margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 64px;
  padding: 12px clamp(24px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 118px;
  height: 52px;
  overflow: visible;
}
.brand-wordmark,
.brand-icon {
  grid-area: 1 / 1;
  transition: opacity 180ms ease, transform 180ms ease;
}
.brand-wordmark {
  width: 118px;
  height: 52px;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
}
.brand-icon {
  display: block;
  width: 32px;
  height: 34px;
  opacity: 0;
  transform: scale(0.86);
  background: url("/assets/gosses-icon-orange.svg?v=20260705-header-wordmark-swap") center / contain no-repeat;
}
.site-header.is-scrolled .brand {
  width: 32px;
  height: 34px;
}
.site-header.is-scrolled .brand-wordmark {
  opacity: 0;
  transform: scale(0.88);
  pointer-events: none;
}
.site-header.is-scrolled .brand-icon {
  opacity: 1;
  transform: scale(1);
}
.footer-brand {
  font-family: Forum, Georgia, serif;
  font-size: 1.5rem;
  color: var(--muted);
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav a, .site-footer nav a, .nav-toggle, .button, .text-link, .section-label, .weight, .small {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.site-nav a, .site-footer nav a { color: var(--muted); text-decoration: none; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active, .site-footer nav a:hover { color: var(--accent-dark); border-bottom-color: var(--accent); }
.site-nav a.support-link {
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  padding: 9px 13px 8px;
}
.site-nav a.support-link:hover,
.site-nav a.support-link.active {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); padding: 10px 12px; }

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(24px, 5vw, 72px);
}

.hero, .page-hero, .split-section, .narrative-section, .collection-section, .requirements-section, .contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero, .page-hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(64px, 8vw, 104px); }
.hero__copy, .page-hero > div:first-child { display: grid; gap: 22px; }
.hero__copy p, .page-hero p { max-width: 620px; font-size: clamp(1rem, 1.15vw, 1.16rem); }
.hero h1, .page-hero h1 {
  max-width: 14ch;
}
.hero-home h1 {
  max-width: 560px;
  font-size: clamp(1.85rem, 2.75vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: none;
}
.stitch-hero-art {
  margin: 0;
  justify-self: center;
  width: min(100%, 390px);
  aspect-ratio: 1200 / 1284;
  display: grid;
  place-items: center;
  background: transparent;
}
.stitch-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.organic-frame {
  aspect-ratio: 1 / 1.08;
  margin: 0;
  width: min(100%, 390px);
  justify-self: center;
  overflow: hidden;
  background: var(--surface);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-45.8C87.4,-32.5,90.1,-16.3,89.1,-0.6C88.1,15.1,83.4,30.2,74.7,42.5C66,54.8,53.3,64.3,39.6,71.5C25.9,78.7,11.2,83.6,-3.4,89.5C-18,95.4,-32.6,102.3,-44.6,96.3C-56.6,90.3,-66.1,71.4,-74.6,54.1C-83.1,36.8,-90.6,21.1,-93.8,4.2C-97,-12.7,-95.9,-30.8,-87.6,-45.3C-79.3,-59.8,-63.8,-70.7,-48.5,-77.3C-33.2,-83.9,-18.1,-86.2,-1.6,-83.4C14.9,-80.6,29.8,-72.7,44.7,-76.4Z" transform="translate(100 100)"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M44.7,-76.4C58.9,-69.2,71.8,-59.1,79.6,-45.8C87.4,-32.5,90.1,-16.3,89.1,-0.6C88.1,15.1,83.4,30.2,74.7,42.5C66,54.8,53.3,64.3,39.6,71.5C25.9,78.7,11.2,83.6,-3.4,89.5C-18,95.4,-32.6,102.3,-44.6,96.3C-56.6,90.3,-66.1,71.4,-74.6,54.1C-83.1,36.8,-90.6,21.1,-93.8,4.2C-97,-12.7,-95.9,-30.8,-87.6,-45.3C-79.3,-59.8,-63.8,-70.7,-48.5,-77.3C-33.2,-83.9,-18.1,-86.2,-1.6,-83.4C14.9,-80.6,29.8,-72.7,44.7,-76.4Z" transform="translate(100 100)"/></svg>');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.organic-frame img, .offset-frame img, .work-grid img { width: 100%; height: 100%; object-fit: cover; }
.offset-frame { position: relative; isolation: isolate; margin: 0; aspect-ratio: 0.9 / 1; width: min(100%, 430px); justify-self: center; }
.offset-frame::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 28px;
  background: var(--accent);
  z-index: -1;
}
.offset-frame img { filter: grayscale(1); transition: filter 300ms ease, transform 600ms ease; }
.offset-frame:hover img { filter: grayscale(0); transform: translate(-4px, -4px); }

.button-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.button:hover, .button--dark { background: var(--ink); color: white; }
.button--dark:hover { background: transparent; color: var(--ink); }
.button--accent { border-color: var(--accent); }
.button--light { border-color: white; color: white; }
.button--light:hover { background: white; color: var(--ink); }
.text-link { color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid rgba(226, 122, 39, 0.5); padding-bottom: 4px; width: fit-content; }
.section-label, .weight { color: var(--accent-dark); margin-bottom: 18px; }

.split-section { border-top: 1px solid var(--line); }
.split-section .section-label { margin-bottom: 0; }
.split-section > div, .collection-section > div:first-child, .requirements-section > div { display: grid; gap: 24px; }
.section-heading { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { max-width: 820px; }
.section-heading--stitch {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.section-heading--stitch .section-label {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}
.section-heading--stitch h2 {
  max-width: 620px;
  text-transform: none;
}

.grant-grid, .criteria-grid, .donation-grid, .work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grant-card, .criteria-grid article, .donation-card {
  background: var(--background);
  padding: clamp(24px, 3vw, 38px);
  display: grid;
  gap: 14px;
  min-height: 230px;
}
.grant-card span, .criteria-grid span, .donation-card span {
  font-family: Forum, Georgia, serif;
  font-size: 2.55rem;
  color: rgba(34, 31, 32, 0.18);
}
.grant-card p, .criteria-grid p, .donation-card p { font-size: 0.98rem; }
.funding-area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.funding-area-list article {
  display: grid;
  align-content: start;
  gap: 14px;
}
.funding-area-list h3 {
  text-transform: none;
  letter-spacing: 0.01em;
}
.funding-area-list p {
  max-width: 520px;
  font-size: 0.95rem;
}

.callout, .priority-band {
  background: var(--surface);
  max-width: none;
  padding-left: max(clamp(24px, 5vw, 80px), calc((100vw - var(--max)) / 2 + 80px));
  padding-right: max(clamp(24px, 5vw, 80px), calc((100vw - var(--max)) / 2 + 80px));
}
.callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.callout h2 { max-width: 640px; }
.callout--stitch {
  display: grid;
  justify-items: center;
  text-align: center;
  background: var(--surface);
}
.callout--stitch h2 {
  text-transform: none;
  max-width: 640px;
}

.narrative-section { grid-template-columns: 80px minmax(0, 1fr) minmax(260px, 0.74fr); }
.rotated-label {
  transform: rotate(-90deg);
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.narrative-copy { display: grid; gap: 24px; }
blockquote {
  border-left: 2px solid var(--accent);
  margin: 12px 0 0;
  padding: 12px 0 12px 24px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
}
.collection-section, .donation-section { background: var(--surface); max-width: none; padding-left: max(clamp(24px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 72px)); padding-right: max(clamp(24px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 72px)); }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); background: transparent; border: 0; gap: 32px; }
.work-grid article { display: grid; gap: 12px; }
.work-grid img { aspect-ratio: 1.1 / 1; filter: grayscale(1); transition: filter 300ms ease; }
.work-grid article:hover img { filter: grayscale(0); }
.work-grid p { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.criteria-section h2, .donation-section h2 { margin-bottom: 40px; }
.requirements-section { align-items: start; border-top: 1px solid var(--line); }
.requirement-list {
  list-style: none;
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.requirement-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.requirement-list strong {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.requirement-list span { color: var(--muted); line-height: 1.65; }

.support-mark {
  width: min(330px, 46vw);
  aspect-ratio: 1;
  justify-self: center;
  border: 2px solid var(--ink);
  border-radius: 52% 48% 44% 56% / 44% 58% 42% 56%;
  display: grid;
  place-items: center;
}
.support-mark span {
  width: 68%;
  aspect-ratio: 1;
  border: 22px solid var(--accent);
  border-radius: 48% 52% 58% 42% / 56% 44% 52% 48%;
}
.dark-callout {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--ink);
  color: white;
  padding-left: max(clamp(24px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 72px));
  padding-right: max(clamp(24px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 72px));
}
.dark-callout p { color: rgba(255, 255, 255, 0.72); max-width: 600px; }

.contact-section { align-items: start; }
.contact-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}
.contact-hero h1 {
  font-size: clamp(2rem, 4.35vw, 3.5rem);
  max-width: 12.5ch;
}
form { display: grid; gap: 26px; }
.form-note {
  color: var(--accent-dark);
  font-size: 0.95rem;
}
label { display: grid; gap: 10px; }
label span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
input, textarea, select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 0;
  font: inherit;
  background: transparent;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 0; border-bottom: 2px solid var(--accent); }
.contact-section aside { background: var(--surface); padding: clamp(30px, 5vw, 58px); display: grid; gap: 22px; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  padding: clamp(54px, 8vw, 84px) clamp(24px, 5vw, 72px);
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
}
.site-footer p { max-width: 430px; margin-top: 18px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 16px 42px; align-content: start; }
.small { color: var(--muted); opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-wordmark,
  .brand-icon { transition: none; }
}

@media (max-width: 860px) {
  .site-header { align-items: center; min-height: 64px; }
  .brand,
  .brand-wordmark { width: 104px; height: 46px; }
  .site-header.is-scrolled .brand,
  .site-header.is-scrolled .brand-icon { width: 28px; height: 30px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--background);
    border: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  main > section {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .hero, .page-hero {
    padding-top: 46px;
    padding-bottom: 58px;
    gap: 28px;
  }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.14; letter-spacing: 0.035em; }
  h2 { font-size: clamp(1.65rem, 6.5vw, 2rem); }
  h3 { font-size: clamp(1.35rem, 5.7vw, 1.65rem); }
  p { font-size: 0.98rem; line-height: 1.62; }
  .hero__copy, .page-hero > div:first-child { gap: 18px; }
  .hero__copy p, .page-hero p { font-size: 1rem; line-height: 1.6; }
  .stitch-hero-art { width: min(100%, 280px); }
  .organic-frame { width: min(100%, 286px); }
  .offset-frame { width: min(100%, 318px); }
  .support-mark { width: min(100%, 260px); }
  .support-mark span { border-width: 18px; }
  .hero, .page-hero, .split-section, .narrative-section, .collection-section, .requirements-section, .contact-section, .site-footer {
    grid-template-columns: 1fr;
  }
  .hero h1, .page-hero h1 {
    max-width: 100%;
  }
  .offset-frame {
    width: calc(100% - 18px);
  }
  .rotated-label { transform: none; }
  .section-heading, .callout, .dark-callout { grid-template-columns: 1fr; display: grid; }
  .section-heading { margin-bottom: 28px; gap: 18px; }
  .grant-grid, .criteria-grid, .donation-grid, .work-grid { grid-template-columns: 1fr; }
  .grant-card, .criteria-grid article, .donation-card {
    min-height: 0;
    padding: 24px;
  }
  .grant-card span, .criteria-grid span, .donation-card span { font-size: 2.1rem; }
  .funding-area-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .funding-area-list article {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }
  .funding-area-list article:last-child { border-bottom: 0; }
  .section-heading--stitch { grid-template-columns: 1fr; }
  .section-heading--stitch .section-label { margin-bottom: 0; }
  .requirement-list li { grid-template-columns: 1fr; gap: 8px; }
  .site-footer nav { grid-template-columns: 1fr; }
  .site-footer { gap: 32px; }
}
