/* Agency Network Growth: a full briefing calendar, followed by the work behind it. */
.agency-site { --agency-gutter: 48px; }
.agency-page {
  --agency-section: 64px;
  font-size: 16px;
}
.agency-site .shell { width: min(1280px, calc(100% - var(--agency-gutter) * 2)); }
.agency-page > section { padding: var(--agency-section) 0; }
.agency-page h1 { font-size: 56px; line-height: 1.06; letter-spacing: -.045em; }
.agency-page h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.04em; }
.agency-page h1, .agency-page .agency-heading, .agency-page .agency-closing h2 { text-wrap: balance; }
.agency-page h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.agency-page p { font-size: 16px; line-height: 1.5; }
.agency-page .section-label { font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.agency-page .lead { font-size: 20px; line-height: 1.5; }
.agency-page .button { min-height: 52px; padding: 12px 24px; gap: 16px; font-size: 16px; border-radius: 8px; }
.agency-page .button svg { width: 20px; height: 20px; }
.agency-page .agency-section-intro { margin-bottom: 32px; }
.agency-page .agency-heading { max-width: 760px; margin: 0; }
.agency-page .agency-section-intro .lead { max-width: 640px; margin-top: 24px; }
.agency-page .agency-hero-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 48px; }
.agency-page .agency-hero-copy { max-width: 600px; }
.agency-page .agency-hero-copy .lead { max-width: 560px; margin-top: 24px; }
.agency-page .agency-hero-copy .button { margin-top: 32px; }
.agency-page .agency-format { max-width: 440px; margin-top: 24px; font-size: 14px; }
.agency-page .agency-format span { display: block; }

/* A quiet week sits behind the selected briefing in the foreground. */
.agency-page .agency-calendar-scene { position: relative; isolation: isolate; min-width: 0; margin: 0; padding-bottom: 8px; }
.agency-page .agency-calendar-scene::before { content: ''; position: absolute; z-index: -1; inset: 24px 0 0; border-radius: 24px; background: radial-gradient(ellipse at 72% 62%, #dfeade 0%, #edf3e9 48%, transparent 78%); }
.agency-page .agency-calendar { width: calc(100% - 24px); padding-bottom: 40px; border: 1px solid #e3e9e3; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px -24px rgb(23 61 46 / 22%); overflow: hidden; }
.agency-page .agency-calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; }
.agency-page .agency-calendar-header p { margin: 0 0 8px; font-size: 14px; color: var(--accent); }
.agency-page .agency-calendar-header h2 { font-size: 32px; letter-spacing: -.04em; }
.agency-page .agency-calendar-period { display: grid; gap: 8px; text-align: right; white-space: nowrap; }
.agency-page .agency-calendar-period strong { font-size: 20px; font-weight: 400; color: var(--ink); }
.agency-page .agency-calendar-period span { font-size: 12px; color: var(--muted); }
.agency-page .agency-calendar-grid { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); padding-right: 8px; }
.agency-page .agency-calendar-corner { display: flex; justify-content: center; align-items: center; font-size: 12px; line-height: 1.3; color: var(--muted); text-align: center; }
.agency-page .agency-calendar-date { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0 16px; }
.agency-page .agency-calendar-date span { font-size: 12px; color: var(--muted); }
.agency-page .agency-calendar-date strong { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 20px; font-weight: 600; line-height: 1; color: var(--ink); }
.agency-page .agency-calendar-date.agency-calendar-focus strong { color: #fff; background: var(--accent); border-radius: 50%; }
.agency-page .agency-calendar-hours { height: 308px; }
.agency-page .agency-calendar-hours span { display: block; height: 44px; padding: 2px 6px 0 0; text-align: right; font-size: 12px; line-height: 1; color: var(--muted); }
.agency-page .agency-calendar-day { position: relative; height: 308px; margin: 0; padding: 0; list-style: none; border-left: 1px solid #f0f3ef; background-image: repeating-linear-gradient(to bottom, #eef2ed 0, #eef2ed 1px, transparent 1px, transparent 44px); }
.agency-page .agency-calendar-day.agency-calendar-focus { background-color: #f6f9f4; }
.agency-page .agency-calendar-event { position: absolute; top: calc(var(--event-top) + 3px); height: calc(var(--event-height) - 6px); left: 5px; right: 5px; display: flex; flex-direction: column; justify-content: space-between; padding: 6px; border: 1px solid #e0e9df; border-radius: 8px; background: #edf3ea; color: #34583f; }
.agency-page .agency-calendar-event[data-start="09:00"] { --event-top: 0px; }
.agency-page .agency-calendar-event[data-start="10:30"] { --event-top: 66px; }
.agency-page .agency-calendar-event[data-start="10:45"] { --event-top: 77px; }
.agency-page .agency-calendar-event[data-start="11:45"] { --event-top: 121px; }
.agency-page .agency-calendar-event[data-start="12:15"] { --event-top: 143px; }
.agency-page .agency-calendar-event[data-start="12:30"] { --event-top: 154px; }
.agency-page .agency-calendar-event[data-start="13:15"] { --event-top: 187px; }
.agency-page .agency-calendar-event[data-start="14:00"] { --event-top: 220px; }
.agency-page .agency-calendar-event[data-start="14:15"] { --event-top: 231px; }
.agency-page .agency-calendar-event[data-start="14:45"] { --event-top: 253px; }
.agency-page .agency-calendar-event[data-duration="75"] { --event-height: 55px; }
.agency-page .agency-calendar-event[data-duration="90"] { --event-height: 66px; }
.agency-page .agency-calendar-event[data-duration="105"] { --event-height: 77px; }
.agency-page .agency-calendar-event[data-duration="120"] { --event-height: 88px; }
.agency-page .agency-calendar-event strong { font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agency-page .agency-calendar-event time { font-size: 12px; line-height: 1.2; color: #5d7261; white-space: nowrap; }
.agency-page .agency-calendar-featured { z-index: 1; color: #fff; border-color: var(--accent); background: var(--accent); box-shadow: 0 4px 12px rgb(36 92 70 / 18%); }
.agency-page .agency-calendar-featured time { color: #e1ede5; }
.agency-page .agency-meeting-detail { position: relative; z-index: 2; width: min(440px, calc(100% - 48px)); margin: -40px 0 0 auto; padding: 24px; border: 1px solid #d9e4db; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px -16px rgb(23 61 46 / 26%); }
.agency-page .agency-meeting-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.agency-page .agency-meeting-main p { margin-bottom: 8px; font-size: 12px; color: var(--accent); }
.agency-page .agency-meeting-main h3 { font-size: 24px; }
.agency-page .agency-meeting-when { flex-shrink: 0; text-align: right; }
.agency-page .agency-meeting-when strong { display: block; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.agency-page .agency-meeting-when span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.agency-page .agency-meeting-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.agency-page .agency-meeting-footer strong { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12px; font-weight: 600; }
.agency-page .agency-meeting-footer svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; }

/* A shared brief, a matching partner, and the context delivered with the meeting. */
.agency-page .agency-match-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.agency-page .agency-brief-card, .agency-page .agency-match-card, .agency-page .agency-outreach-example, .agency-page .agency-briefing-note { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.agency-page .agency-match-card, .agency-page .agency-outreach-example, .agency-page .agency-briefing-note { box-shadow: var(--scene-shadow); }
.agency-page .agency-example-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--accent); }
.agency-page .agency-example-heading > span:last-child { font-size: 12px; color: var(--muted); }
.agency-page .agency-example-heading > strong { font-size: 16px; color: var(--ink); }
.agency-page .agency-example-body { padding: 24px; }
.agency-page .agency-example-subtitle { margin-top: 8px; font-size: 14px; }
.agency-page .agency-brief-fields { margin: 24px 0 0; }
.agency-page .agency-brief-fields > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.agency-page .agency-brief-fields dt { color: var(--muted); }
.agency-page .agency-brief-fields dd { margin: 0; }
.agency-page .agency-partner-heading { display: flex; align-items: center; gap: 16px; }
.agency-page .agency-partner-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px; background: var(--sage); color: var(--accent); font-size: 16px; font-weight: 600; }
.agency-page .agency-partner-heading p { margin-top: 4px; font-size: 14px; }
.agency-page .agency-example-body h4, .agency-page .agency-note-content h4 { margin: 24px 0 16px; font-size: 16px; line-height: 1.5; font-weight: 600; }
.agency-page .agency-match-reasons { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.agency-page .agency-match-reasons li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.agency-page .agency-match-reasons svg { width: 18px; height: 24px; color: var(--accent); }
.agency-page .agency-outreach-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.agency-page .agency-outreach-steps { margin: 0; padding: 0; list-style: none; }
.agency-page .agency-outreach-steps li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.agency-page .agency-outreach-steps li:last-child { border-bottom: 1px solid var(--line); }
.agency-page .agency-outreach-steps li > span { color: var(--accent); font-size: 14px; padding-top: 4px; }
.agency-page .agency-outreach-steps p { margin-top: 12px; }
.agency-page .agency-correspondence { display: grid; gap: 20px; padding: 24px; }
.agency-page .agency-message { max-width: 90%; }
.agency-page .agency-message > span { display: block; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.agency-page .agency-message p { color: var(--ink); font-size: 16px; }
.agency-page .agency-message-reply { justify-self: end; padding: 12px 16px; border-radius: 8px; background: var(--soft); }
.agency-page .agency-message-reply > span { color: var(--accent); }
.agency-page .agency-outreach-example figcaption { display: flex; align-items: center; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--line); color: var(--accent); font-size: 14px; }
.agency-page .agency-outreach-example figcaption svg { width: 18px; height: 18px; }
.agency-page .agency-note-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px; }
.agency-page .agency-note-heading > div > p { margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.agency-page .agency-note-status { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--accent); }
.agency-page .agency-note-status svg { width: 18px; height: 18px; }
.agency-page .agency-note-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 16px 32px; border-block: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 14px; }
.agency-page .agency-note-details strong { color: var(--ink); }
.agency-page .agency-note-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding: 24px 32px 32px; }
.agency-page .agency-note-content h4 { margin: 0 0 12px; }
.agency-page .agency-note-content ul { margin: 0; padding-left: 20px; color: var(--muted); }
.agency-page .agency-note-content li { padding-left: 4px; margin-bottom: 8px; }
.agency-page .agency-note-content .agency-note-profile { margin-top: 16px; font-size: 14px; }
.agency-page .agency-handoff-boundary { margin-top: 24px; font-size: 14px; }
.agency-page .faq-layout { display: block; }
.agency-page .faq-layout h2 { font-size: 40px; max-width: 720px; }
.agency-page .faq-layout > div > p { max-width: 640px; margin-top: 24px; font-size: 20px; }
.agency-page .faq-list { margin-top: 32px; }
.agency-page .faq-list summary { padding: 16px 0; font-size: 16px; gap: 24px; }
.agency-page .faq-list summary > span { font-size: 24px; }
.agency-page .faq-list details p { padding: 0 32px 24px 0; font-size: 16px; max-width: 800px; }
.agency-page .agency-closing { background: var(--accent); color: #fff; }
.agency-page .agency-closing h2 { max-width: 760px; }
.agency-page .agency-closing .lead { max-width: 640px; margin-top: 24px; color: #c7dacc; }
.agency-page .agency-closing .button { margin-top: 24px; color: var(--accent); }
@media (min-width: 1101px) and (max-width: 1250px) {
  .agency-page h1 { font-size: 48px; }
}
@media (max-width: 1100px) {
  .agency-page .agency-hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .agency-page .agency-hero-copy { max-width: 720px; }
  .agency-page .agency-hero-copy .lead { max-width: 640px; }
  .agency-page .agency-calendar-scene { width: 100%; max-width: 840px; }
  .agency-page .agency-outreach-layout { gap: 32px; }
}
@media (max-width: 960px) {
  .agency-site { --agency-gutter: 24px; }
  .agency-page .agency-outreach-layout { grid-template-columns: 1fr; }
  .agency-page .agency-outreach-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .agency-page .agency-outreach-steps li { display: block; border-bottom: 0; }
  .agency-page .agency-outreach-steps li > span { display: block; margin-bottom: 16px; }
  .agency-page .agency-note-content { gap: 32px; }
}
@media (max-width: 700px) {
  .agency-page { --agency-section: 48px; }
  .agency-page .agency-hero { padding-top: 32px; }
  .agency-page h1 { font-size: 40px; }
  .agency-page h2, .agency-page .faq-layout h2 { font-size: 32px; }
  .agency-page .lead, .agency-page .faq-layout > div > p { font-size: 16px; }
  .agency-page .agency-hero-layout { gap: 32px; }
  .agency-page .agency-hero-copy .button { margin-top: 24px; }
  .agency-page .agency-match-layout, .agency-page .agency-note-content, .agency-page .agency-outreach-steps { grid-template-columns: 1fr; gap: 24px; }
  .agency-page .agency-example-heading { padding: 16px; gap: 12px; }
  .agency-page .agency-example-body, .agency-page .agency-correspondence { padding: 20px; }
  .agency-page .agency-brief-fields > div { grid-template-columns: 1fr; gap: 4px; }
  .agency-page .agency-outreach-steps { gap: 0; }
  .agency-page .agency-message { max-width: 95%; }
  .agency-page .agency-outreach-example figcaption { padding: 16px; }
  .agency-page .agency-note-heading { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .agency-page .agency-note-details { padding: 16px 20px; }
  .agency-page .agency-note-content { padding: 24px 20px; }
  .agency-page .faq-list summary { gap: 16px; }
}
@media (max-width: 767px) {
  .agency-page .agency-calendar-scene { padding-bottom: 16px; }
  .agency-page .agency-calendar-scene::before { inset: 32px 0 0 16px; }
  .agency-page .agency-calendar { width: 100%; padding-bottom: 24px; }
  .agency-page .agency-calendar-header { padding: 20px 16px; }
  .agency-page .agency-calendar-header h2 { font-size: 24px; }
  .agency-page .agency-calendar-period strong { font-size: 16px; }
  .agency-page .agency-calendar-header p { font-size: 12px; }
  .agency-page .agency-calendar-grid { grid-template-columns: 40px repeat(5, minmax(0, 1fr)); }
  .agency-page .agency-calendar-date { gap: 4px; padding-bottom: 12px; }
  .agency-page .agency-calendar-date strong { font-size: 16px; }
  .agency-page .agency-calendar-day:not(.agency-calendar-focus) { display: none; }
  .agency-page .agency-calendar-day.agency-calendar-focus { grid-column: 2 / -1; }
  .agency-page .agency-calendar-event { padding: 8px 12px; }
  .agency-page .agency-calendar-event time { font-size: 14px; }
  .agency-page .agency-meeting-detail { width: calc(100% - 16px); margin-top: -16px; padding: 16px; }
  .agency-page .agency-meeting-main h3 { font-size: 20px; }
  .agency-page .agency-meeting-when strong { font-size: 16px; }
  .agency-page .agency-meeting-footer { margin-top: 16px; padding-top: 12px; }
}
@media (max-width: 360px) {
  .agency-page h1 { font-size: 32px; }
  .agency-page .agency-hero-copy .button, .agency-page .agency-closing .button { width: 100%; padding-inline: 16px; gap: 8px; }
}
