/* The Cooperative Agency — full-bleed Squarespace parity */
:root {
  --bg: #e8e8e8;
  --bg-soft: #f2f2f2;
  --ink: #000;
  --white: #fff;
  --display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* side inset scales with viewport — never a fixed “page” shell */
  --gutter: clamp(1.25rem, 5.5vw, 5rem);
  --gutter-lg: clamp(1.5rem, 8vw, 7.5rem);
  --measure: 42rem;
  --measure-wide: 56rem;
  --space-1: clamp(0.5rem, 1vw, 0.75rem);
  --space-2: clamp(1rem, 2vw, 1.5rem);
  --space-3: clamp(1.75rem, 3.5vw, 2.75rem);
  --space-4: clamp(2.75rem, 6vw, 5rem);
  --space-5: clamp(4rem, 9vw, 7.5rem);
  --display-size: clamp(2.75rem, 7.5vw + 1rem, 6.75rem);
  --display-md: clamp(2rem, 3.5vw + 0.5rem, 3.4rem);
  --display-sm: clamp(1.5rem, 2.4vw + 0.5rem, 2.72rem);
  --body-size: clamp(1rem, 0.35vw + 0.92rem, 1.19rem);
  /* wordmark is ~1598×795; keep hero copy below the overlay header */
  --header-clearance: calc(1.35rem + (clamp(9.5rem, 16vw, 13.75rem) * 0.5) + 1.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  /* kill accidental horizontal scroll that creates “page edge” */
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  font-family: var(--sans);
  font-size: var(--body-size);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* center any residual shrink-wrap behavior */
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

a { color: inherit; }

/* every major shell is true full-bleed */
.bleed,
.hero,
.band,
.footer-band,
.section,
.panel,
.site-footer-mini {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--display-size);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.display-md {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--display-md);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.display-sm {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--display-sm);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: pretty;
}
.display-xs {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.2vw + 0.7rem, 1.24rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
}
.body {
  font-family: var(--sans);
  font-size: var(--body-size);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}
.body-lg {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.1vw + 0.7rem, 1.67rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}
.link-cta {
  font-family: var(--display);
  font-size: var(--display-sm);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.link-cta-sm {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.2vw + 0.7rem, 1.24rem);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.94rem;
  background: transparent;
}

/* content column — centered, never left-stuck */
.inner {
  width: 100%;
  max-width: 90rem; /* soft ceiling on ultra-wide only */
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.inner-wide {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.inner-tight {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- header over media ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  width: 100%;
  padding: 1.15rem var(--gutter) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}
.site-header a { pointer-events: auto; text-decoration: none; }
.logo-wordmark {
  width: clamp(9.5rem, 16vw, 13.75rem);
  height: auto;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(1rem, 2.2vw, 1.85rem);
  font-size: var(--body-size);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.nav a { opacity: 0.95; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav--light a { color: var(--white); }

/* ---------- hero: always viewport-wide ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0c0c0c;
}
.hero__media,
.band__media,
.footer-band__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img,
.band__media img,
.footer-band__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,.18) 42%, rgba(0,0,0,.28) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--header-clearance) var(--gutter) clamp(2.75rem, 7vh, 5rem);
}
.hero__lede {
  max-width: 28rem;
  margin: 0 0 var(--space-2);
  color: rgba(255,255,255,.96);
}
.hero .display {
  max-width: var(--measure-wide);
}

/* ---------- sections ---------- */
.section {
  width: 100%;
  padding-block: var(--space-4);
  padding-inline: 0;
}
.section--loose { padding-block: var(--space-5); }
.section--tight {
  padding-block: var(--space-3);
}
.section--flush-top { padding-top: var(--space-2); }
.section--flush-bot { padding-bottom: var(--space-2); }

.panel {
  width: 100%;
  background: var(--bg-soft);
  padding-block: var(--space-5);
}

/* editorial split — full bleed section, inset columns */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}
.split--rev {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.split--top { align-items: start; }

.stack {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}
.stack-lg { display: grid; gap: var(--space-3); min-width: 0; }
.stack-sm { display: grid; gap: var(--space-1); min-width: 0; }

.photo {
  min-width: 0;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.photo--portrait img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* brand-consistency video block */
.section--brand {
  background: #fff;
}
.split--brand {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.75rem, 4.5vw, 4rem);
}
.brand-copy {
  max-width: 28rem;
  justify-self: end;
  width: 100%;
  text-align: center;
}
.brand-copy .display-sm {
  max-width: 14ch;
  margin-inline: auto;
}
.brand-copy .body,
.brand-copy .display-xs {
  margin-inline: auto;
}
.media-frame {
  min-width: 0;
  overflow: hidden;
  background: #0c0c0c;
}
.media-frame--video {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.media-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0c0c0c;
}

.ta-right { text-align: right; }
.ta-center { text-align: center; }
.mw-prose { max-width: var(--measure); }
.mw-narrow { max-width: 30rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-inline: auto; }

/* full-bleed photo bands */
.band {
  position: relative;
  width: 100%;
  min-height: clamp(26rem, 58vw, 42rem);
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0c0c0c;
}
.band__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.48));
  pointer-events: none;
}
.band__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-4) var(--gutter);
}
.band__content.is-right {
  display: grid;
  justify-items: end;
  text-align: right;
}
.band__content.is-right .stack-sm,
.band__content.is-right .stack {
  max-width: 34rem;
  width: min(34rem, 100%);
}

.social-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr);
  gap: var(--space-2);
  align-items: end;
  width: min(46rem, 100%);
  margin-inline: auto;
}
.social-pair img {
  width: 100%;
  box-shadow: 0 1.25rem 3rem rgba(0,0,0,.12);
}

.two-up {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0.65rem;
  min-width: 0;
}
.two-up img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
}
.ig-grid a {
  display: block;
  min-width: 0;
}
.ig-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* form */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  width: 100%;
}
.form {
  display: grid;
  gap: 0.8rem;
  background: #fff;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid #d4d4d4;
  width: 100%;
  max-width: 32rem;
  justify-self: end;
}
.form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 500;
}
.form input,
.form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid #c8c8c8;
  background: #fff;
  border-radius: 0;
  width: 100%;
}
.form textarea { min-height: 7.5rem; resize: vertical; }
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.form button {
  appearance: none;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  min-height: 2.85rem;
  font: inherit;
  font-size: 0.94rem;
  cursor: pointer;
}
.form .note {
  font-size: 0.8125rem;
  color: #555;
  margin: 0;
  line-height: 1.35;
}
.form[data-state="sent"] .form-fields { display: none; }
.form-thanks {
  display: none;
  font-family: var(--display);
  font-size: var(--display-sm);
  line-height: 1.2;
  margin: 0;
}
.form[data-state="sent"] .form-thanks { display: block; }
.form[data-state="error"] .form-error { display: block; }
.form-error {
  display: none;
  font-size: 0.875rem;
  color: #7a1f1f;
  margin: 0;
}

/* footer band — full bleed photo + floating card */
.footer-band {
  position: relative;
  width: 100%;
  min-height: clamp(28rem, 56vw, 40rem);
  overflow: hidden;
  color: #000;
}
.footer-band__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  width: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: var(--space-4) var(--gutter);
}
.footer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  background: #fff;
  width: min(34rem, 100%);
  box-shadow: 0 1.15rem 3.25rem rgba(0,0,0,.18);
}
.footer-card__left {
  padding: clamp(1.35rem, 2.5vw, 2.1rem);
  display: grid;
  align-content: center;
}
.footer-card__right {
  padding: clamp(1.35rem, 2.5vw, 2.1rem);
  display: grid;
  gap: 1rem;
  align-content: center;
  border-left: 1px solid #ececec;
}
.footer-card__right .label {
  font-size: 0.875rem;
  color: #333;
  margin: 0 0 0.15rem;
}
.footer-card__right .value {
  font-size: 1.125rem;
  margin: 0;
}
.footer-logo {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  width: clamp(9rem, 14vw, 12.5rem);
  z-index: 3;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.35));
}

.site-footer-mini {
  width: 100%;
  padding: 1.35rem var(--gutter) 1.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #444;
  background: var(--bg);
}

/* headline-only rows need breathing room */
.headline-row {
  width: 100%;
  padding-block: var(--space-3) var(--space-2);
}
.headline-row .display {
  max-width: min(var(--measure-wide), 100%);
}

/* ---------- interior page hero (FAQ / Contact) ---------- */
.page-hero {
  position: relative;
  width: 100%;
  min-height: clamp(22rem, 48svh, 32rem);
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0c0c0c;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 55%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--header-clearance) var(--gutter) clamp(2rem, 5vh, 3.25rem);
  max-width: var(--measure-wide);
}
.page-hero__lede {
  max-width: 34rem;
  margin: var(--space-2) 0 0;
  color: rgba(255,255,255,.95);
}

/* ---------- FAQ: always-open, scrape-friendly ---------- */
.faq-list {
  width: min(46rem, 100%);
  margin-inline: auto;
  display: grid;
  gap: 0;
}
.faq-item {
  padding-block: clamp(1.35rem, 2.6vw, 2rem);
  border-bottom: 1px solid #cfcfcf;
}
.faq-item:first-child {
  padding-top: 0;
}
.faq-item .display-sm {
  margin: 0 0 var(--space-1);
  max-width: 28ch;
}
.faq-item .body {
  max-width: 42rem;
  color: #1a1a1a;
}
.faq-bullets {
  margin: 0.55rem 0 0.75rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  font-family: var(--sans);
  font-size: var(--body-size);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.faq-bullets li::marker {
  color: #555;
}
.faq-cta {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid #cfcfcf;
  gap: var(--space-2);
}

/* contact interior */
.form-shell--contact {
  align-items: start;
}
.contact-copy {
  max-width: 34rem;
}
.contact-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.contact-direct .label {
  font-size: 0.875rem;
  color: #333;
  margin: 0 0 0.15rem;
}
.contact-direct .value {
  font-size: 1.125rem;
  margin: 0;
}
.form .display-xs {
  margin-bottom: 0.15rem;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid #000;
  outline-offset: 1px;
  border-color: #000;
}
.form button:hover {
  background: #222;
}
.form button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}
::selection {
  background: #111;
  color: #fff;
}

@media (max-width: 900px) {
  .split,
  .split--rev,
  .split--brand,
  .form-shell,
  .social-pair,
  .two-up,
  .footer-card,
  .ig-grid {
    grid-template-columns: 1fr;
  }
  .ig-grid { grid-template-columns: 1fr 1fr; }
  .ta-right,
  .band__content.is-right {
    text-align: left;
    justify-items: start;
  }
  .form { justify-self: stretch; max-width: none; }
  .nav { gap: 0.85rem; font-size: 0.95rem; }
  .footer-card__right { border-left: 0; border-top: 1px solid #ececec; }
  .hero { min-height: 92svh; }
  .page-hero { min-height: calc(var(--header-clearance) + 14rem); }
  .faq-item .display-sm { max-width: none; }
  .brand-copy {
    justify-self: stretch;
    max-width: none;
    text-align: left;
  }
  .brand-copy .display-sm,
  .brand-copy .body,
  .brand-copy .display-xs {
    margin-inline: 0;
    max-width: none;
  }
  .media-frame--video { order: -1; }
}

/* ultra-wide: keep media full bleed, type readable */
@media (min-width: 1600px) {
  :root {
    --gutter: clamp(3rem, 6vw, 6.5rem);
  }
}
