@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400&display=swap");
/* Site-wide type and spacing system. Loaded last on every page. */

html body,
html body .julie-page {
  --text: #53504b;
  --text-soft: #5f5b55;
  --text-faint: #5f5b55;
  --ink-pink: #a3124e;
}

html body { margin: 0; }

/* Page headlines: one size everywhere */
html body .hero-title {
  font-size: clamp(48px, 7.5vw, 108px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 24px !important;
}

/* About headline: pink, sized for its column */
html body .about-title {
  color: var(--magenta) !important;
  font-size: clamp(44px, 5vw, 72px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 20px !important;
}
html body .about-intro {
  font-size: clamp(18px, 1.6vw, 21px) !important;
  color: var(--text-soft) !important;
}
html body .about-section { margin-bottom: 18px; }
html body .about-text { margin-bottom: 0; }
html body .about-content .about-section:last-of-type { margin-bottom: 40px; }

/* Section titles: charcoal, one size */
html body .cs-title,
html body .patent-title,
html body .section-heading,
html body .featured-title,
html body .zing-title,
html body .strategy-title,
html body .mw-title {
  color: var(--text) !important;
  font-size: clamp(32px, 4vw, 56px) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}
html body .closing-statement { color: var(--text) !important; }

/* Supporting headline under page headline */
html body .hero-sub {
  color: var(--text-soft) !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
}

/* Intro paragraphs */
html body .page-desc {
  font-size: clamp(16px, 1.6vw, 19px) !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  color: var(--text-soft) !important;
}
html body .page-desc strong { color: var(--text); }
html body .section-intro { font-size: clamp(16px, 1.6vw, 19px); }

/* One label style */
html body .page-label,
html body .cs-grid-label,
html body .sb-label,
html body .era-col-label,
html body .featured-label,
html body .zing-label,
html body .showcase-label,
html body .links-label,
html body .strategy-label,
html body .related-tag,
html body .related-header,
html body .patent-meta,
html body .tl-tag,
html body .cs-tag,
html body .footer-heading,
html body .next-label {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ink-pink) !important;
}

/* Minimum sizes for small text */
html body .cs-metric-label,
html body .zing-metric-label,
html body .metric-label {
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  color: var(--text-soft) !important;
}
html body .pos-note,
html body .s2-note,
html body .mw-subtitle { font-size: 13px !important; color: var(--text-soft) !important; }
html body .cs-grid-text { font-size: 15px !important; line-height: 1.6 !important; color: var(--text) !important; }
html body .tl-answer { font-size: 16px !important; line-height: 1.65 !important; }

/* Back link: same everywhere */
html body .back-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--text-soft) !important;
  text-decoration: none !important;
}
html body .back-link:hover { color: var(--magenta) !important; }

/* Related Work: less dead space above */
html body .related-work {
  margin-top: 0 !important;
  padding-top: 56px !important;
}

/* Footer: one version */
html body .site-footer {
  margin-top: 64px !important;
  padding: 56px 0 40px !important;
  border-top: 1px solid rgba(83, 80, 75, 0.14);
  text-align: left !important;
}
html body .site-footer .footer-container {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
html body .site-footer .footer-nav {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 96px !important;
  margin-bottom: 48px !important;
  text-align: left !important;
}
html body .site-footer .footer-heading { margin: 0 0 16px !important; }
html body .site-footer .footer-links { list-style: none !important; margin: 0 !important; padding: 0 !important; }
html body .site-footer .footer-links li { margin: 0 0 10px !important; padding: 0 !important; }
html body .site-footer .footer-links a {
  font-size: 15px !important;
  color: var(--text) !important;
  text-decoration: none !important;
}
html body .site-footer .footer-links a:hover { color: var(--magenta) !important; }
html body .site-footer .footer-meta { text-align: center !important; }
html body .site-footer .footer-meta p {
  font-size: 13px !important;
  color: var(--text-soft) !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
}
html body .site-footer .footer-meta a { color: var(--ink-pink) !important; text-decoration: none !important; }
@media (max-width: 640px) {
  html body .site-footer .footer-nav { gap: 56px !important; }
}

/* Prototypes: live demos fill the column */
html body .julie-page .tool-visual { max-width: none !important; }
html body .julie-page .tool-visual iframe { height: 640px !important; }

/* JCPenney: videos align with the page column */
html body .julie-page .video-grid { margin: 0 !important; max-width: 880px !important; }

/* Comms: word metrics get room */
html body .cs-metrics.is-words { grid-template-columns: repeat(2, 1fr) !important; }

/* Phone: compact chat button */
@media (max-width: 640px) {
  html body .chat-button .chat-text { display: none !important; }
  html body .chat-button { width: 48px !important; padding: 0 !important; justify-content: center !important; }
}

/* Browser surfaces */
::selection { background: rgba(255, 74, 150, 0.28); color: inherit; }

/* Spacing before Related Work and footer */
html body .cs-wrap { padding-bottom: 24px !important; }
html body .julie-page .cs-item:last-child,
html body .cs-item:last-child { margin-bottom: 0 !important; }
html body .tl-wrap { padding-bottom: 24px !important; }
html body .more-work { padding-bottom: 40px !important; }
html body .closing-statement { margin-bottom: 40px !important; }
html body .zing + .related-work,
html body section.zing { padding-bottom: 32px !important; }
html body .next-project { padding-bottom: 24px !important; }

/* Small pink text and pill buttons use the deeper pink */
html body .cs-link,
html body .tool-link,
html body .tl-artifact-link,
html body .patent-link,
html body .patent-list-link,
html body .patent-list-number,
html body .tl-wrap a[href="about.html"] {
  color: var(--ink-pink) !important;
  border-color: rgba(163, 18, 78, 0.45) !important;
}
html body .cs-link:hover,
html body .tool-link:hover,
html body .tl-artifact-link:hover,
html body .patent-link:hover,
html body .tl-wrap a[href="about.html"]:hover {
  background: var(--ink-pink) !important;
  border-color: var(--ink-pink) !important;
  color: #fff !important;
}
html body .patent-list-link:hover { color: var(--magenta) !important; }

/* Consistent space between back link and page label */
html body .hero > .back-link { margin-bottom: 24px !important; }

/* Zing: tighter rhythm between sections */
html body .strategy-section { padding-top: 32px !important; margin-bottom: 24px !important; }

/* Phone: long single words (STORYTELLING) must fit */
@media (max-width: 640px) {
  html body .hero-title { font-size: clamp(34px, 10vw, 56px) !important; overflow-wrap: normal; }
}

/* ===== Webby mailer moves ===== */

/* 1. Thin pink caps line under the headline */
html body .hero-sub,
html body .about-intro {
  font-family: "Outfit", "Inter", sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  color: var(--magenta) !important;
  font-size: clamp(22px, 2.6vw, 36px) !important;
  line-height: 1.1 !important;
}

/* 2. Pull quotes: big pink on a white panel with zigzag edges */
html body .pull-quote {
  margin: 40px 0;
  padding: 40px 36px 36px;
  background: rgba(255, 255, 255, 0.62);
  --zz: 10px;
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--zz)) 51% repeat-x;
          mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(2 * var(--zz)) 51% repeat-x;
}
html body .pull-quote p {
  margin: 0 0 14px !important;
  font-family: var(--display, "Archivo Black", sans-serif) !important;
  font-size: clamp(30px, 4vw, 52px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase;
  color: var(--magenta) !important;
}
html body .pull-quote cite {
  display: block;
  font-style: normal;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-pink);
}
html body .tl-drawer .pull-quote { margin: 8px 0 24px; padding: 32px 28px 28px; }
html body .tl-drawer .pull-quote p { font-size: clamp(26px, 3vw, 40px) !important; }

/* 3. Pink triangles mark what matters */
html body .patent-meta::before,
html body .featured-label::before,
html body .zing-label::before,
html body .strategy-label::before,
html body .sb-label::before,
html body .patent-list-link::before,
html body .showcase-label::before,
html body .links-label::before,
html body .era-hl::before {
  content: "\25B8\00A0";
  color: var(--magenta);
}
html body .era-hl { color: var(--magenta); text-decoration: none; }
html body .era-hl:hover { color: var(--ink-pink); }

/* About: thin pink line on one line */
html body p.about-intro { font-size: clamp(18px, 1.72vw, 25px) !important; }

/* No orphans, no lopsided headlines */
html body p, html body li, html body .cs-subhead, html body .page-desc { text-wrap: pretty; }
html body .hero-title, html body .cs-title, html body .patent-title, html body .section-heading,
html body .featured-title, html body .zing-title, html body .strategy-title, html body .mw-title,
html body .tl-question, html body .hero-sub, html body .about-title { text-wrap: balance; }
/* Prototypes intro reads as one thought */
html body .hero .page-desc + .page-desc { margin-top: -6px; }
html body .hero:has(.page-desc + .page-desc) .page-desc { max-width: 760px !important; }

/* Homepage drawer buttons always sit on the right */
html body .tl-artifact-footer .tl-artifact-link { margin-left: auto; }
html body .link-row .cs-link { margin-left: auto; }
