/* ─────────────────────────────────────────────────────────────
   partnerships-atlas.css
   Partner-profile page finish layer. Loads AFTER partnerships.css,
   which it depends on: the hero, context band, CTA panel and footer
   blocks are reused verbatim from that sheet, and only the pieces a
   single-partner page needs are added here.

   Nothing in atlas.html carries an inline style. Everything below is
   the exact value from the approved mockup.
   ───────────────────────────────────────────────────────────── */

/* ── Shared: honey kicker on the cream/linen bands ─────────── */
.atlas-together .section-kicker,
.atlas-explainer .section-kicker { color: #8B6F1A; }

/* ── HERO additions ───────────────────────────────────────────
   The directory page's hero photo is 16/10 landscape. A partner
   profile leads with a portrait-ish team shot, so the frame's
   aspect ratio is overridden rather than the frame restyled. */
.partner-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 3px 0;
  color: rgba(253, 251, 247, .78);
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(253, 251, 247, .3);
}
.partner-back-link:hover { color: #F4D98C; border-bottom-color: #F4D98C; }

.partnerships-photo-frame img.atlas-hero-photo {
  aspect-ratio: 1 / 1;
  object-position: center 38%;
}

/* ── THE PARTNER (context band, re-columned) ──────────────────
   Logo plate + fact list on the left, story on the right, both
   top-aligned instead of centred: the fact list is taller than
   the copy and centring it reads as a mistake. */
.partnerships-context__inner--partner {
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  align-items: start;
}
.partner-logo--profile { min-height: 132px; padding: 26px 30px; }
.partner-logo--profile .partner-logo-img { max-height: 96px; max-width: min(100%, 320px); }

.partner-facts { margin: 26px 0 0; }
.partner-facts__row {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(92, 74, 50, .28);
}
.partner-facts__row:last-child { border-bottom: 1px solid rgba(92, 74, 50, .28); }
.partner-facts dt {
  margin: 0;
  color: #5C4A32;
  font-family: var(--font-display, Georgia, serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.partner-facts dd { margin: 0; color: #2D2A26; font-size: 14.5px; line-height: 1.55; }

/* ── HOW WE WORK TOGETHER (linen band) ────────────────────── */
.atlas-together { background: #E8E2D8; border-bottom: 1px solid #8B7D6B; }
.atlas-together__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 82px;
}
.atlas-together__lede {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 64px;
  align-items: center;
}
.atlas-together__copy { min-width: 0; }
.atlas-together h2 {
  max-width: 640px;
  margin: 0;
  color: #2D2A26;
  font: 700 clamp(30px, 3.6vw, 44px)/1.1 var(--font-body, sans-serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}
/* Blue rule, not honey — the one lake-blue accent the partner brand earns. */
.atlas-together__rule { width: 46px; height: 2px; margin: 23px 0 22px; background: #234E78; }
.atlas-together__copy > p:not(.section-kicker) {
  max-width: 60ch;
  margin: 0;
  color: #2D2A26;
  font-family: var(--font-display, Georgia, serif);
  font-size: 19px;
  line-height: 1.66;
}

/* Two dietitian portraits, side by side, in matted linen frames. */
.atlas-dietitians { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.atlas-dietitians figure {
  margin: 0;
  padding: 8px;
  background: #F5F0E8;
  border: 1px solid #8B7D6B;
  box-shadow: inset 0 1px 0 rgba(253, 251, 247, .7), inset 0 -1px 0 rgba(139, 125, 107, .16);
}
.atlas-dietitians img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 7px;
  filter: saturate(.96) sepia(.06);
}
.atlas-dietitians figcaption {
  margin: 11px 2px 3px;
  color: #5C4A32;
  font-family: var(--font-display, Georgia, serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ── WHAT'S IN THE COLLECTION (category strip) ────────────── */
.atlas-collection { margin-top: 58px; padding-top: 26px; border-top: 3px double #6B5E50; }
.atlas-collection__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.atlas-collection__head h3 {
  margin: 0;
  color: #2D2A26;
  font: 700 20px/1.3 var(--font-body, sans-serif);
  letter-spacing: -.01em;
}
/* The one handwritten gesture on the page. Do not add a second. */
.atlas-collection__note {
  margin: 0;
  color: #8B5E3C;
  font-family: var(--font-accent, cursive);
  font-size: 19px;
  transform: rotate(-1.2deg);
}
.atlas-collection__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.atlas-tile {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px;
  background: #FDFBF7;
  border: 1px solid #8B7D6B;
  box-shadow: inset 0 1px 0 rgba(253, 251, 247, .85), inset 0 -1px 0 rgba(139, 125, 107, .16);
}
.atlas-tile__label {
  color: #234E78;
  font-family: var(--font-display, Georgia, serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.atlas-tile p { margin: 0; color: #5C4A32; font-size: 13.5px; line-height: 1.65; }

/* ── WHAT FARMSOURCE IS (cream panel on the page ground) ──── */
.atlas-explainer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 0;
}
.atlas-explainer__panel {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
  padding: 44px 46px 46px;
  background: #F5F0E8;
  border: 1px solid #8B7D6B;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(253, 251, 247, .7), inset 0 -1px 0 rgba(139, 125, 107, .16);
}
.atlas-explainer h2 {
  max-width: 420px;
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 3px double #6B5E50;
  color: #2D2A26;
  font: 700 clamp(28px, 3.2vw, 38px)/1.12 var(--font-display, Georgia, serif);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.atlas-explainer__engraving {
  display: block;
  width: auto;
  max-width: 100%;
  height: 150px;
  margin-left: -6px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}
.atlas-explainer__body { max-width: 64ch; margin: 0; color: #5C4A32; font-size: 16.5px; line-height: 1.78; }
.atlas-explainer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }

/* ── CTA ──────────────────────────────────────────────────────
   partnerships.css zeroes the margins on .partnerships-cta__copy p
   because the directory page has exactly one paragraph there. This
   page has two, so the container owns the rhythm. */
.partnerships-cta--partner { padding-top: 74px; }
.partnerships-cta--partner .partnerships-cta__copy { display: flex; flex-direction: column; gap: 14px; }

/* ── Breakpoints — matched to partnerships.css ─────────────── */
@media (max-width: 960px) {
  .partnerships-context__inner--partner { gap: 44px; }
  .atlas-together__lede { gap: 44px; }
  .atlas-explainer__panel { gap: 40px; }
}

@media (max-width: 760px) {
  .partnerships-context__inner--partner { grid-template-columns: 1fr; }
  .atlas-together__inner { width: calc(100% - 40px); padding: 52px 0 56px; }
  .atlas-together__lede { grid-template-columns: 1fr; gap: 34px; }
  .atlas-collection { margin-top: 44px; }
  .atlas-explainer { width: calc(100% - 40px); padding-top: 54px; }
  .atlas-explainer__panel { grid-template-columns: 1fr; gap: 30px; padding: 32px 24px 36px; }
  .partnerships-cta--partner { padding-top: 54px; }
}

@media (max-width: 430px) {
  /* Portraits stay side by side: two faces reading as a pair is the
     point of the section, and 4/5 crops survive the narrow column. */
  .atlas-dietitians { gap: 10px; }
  .atlas-dietitians figure { padding: 6px; }
  .atlas-dietitians figcaption { font-size: 10.5px; letter-spacing: .05em; }
  .atlas-explainer__actions { align-items: flex-start; flex-direction: column; }
}
