/**
 * Platform My Work — iframe bundle layout (container, breadcrumb, sections, hero CTAs).
 * Loaded via plt-standalone-page.php only — not imported in main.css.
 */

/* --- plt iframe layout (plt-standalone-page.php) --- */

/* ============ CONTAINER ============ */

.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* ============ BREADCRUMB (separate from hero) ============ */

#_plt_breadcrumb,
.amy-platform-breadcrumb {
  width: 100%;
  box-sizing: border-box;
}

.amy-platform-breadcrumb .container {
  padding-top: 50px;
  padding-bottom: 50px;
}

.amy-platform-breadcrumb .crumb,
#_plt_breadcrumb .crumb {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.amy-platform-breadcrumb .crumb > .dot,
.amy-platform-breadcrumb .crumb .dot,
#_plt_breadcrumb .crumb > .dot,
#_plt_breadcrumb .crumb .dot {
  display: none !important;
}

.amy-platform-breadcrumb .crumb a,
#_plt_breadcrumb .crumb a {
  color: var(--ink-3);
  text-decoration: none;
}

.amy-platform-breadcrumb .crumb a:hover,
#_plt_breadcrumb .crumb a:hover {
  color: var(--ink);
}

.amy-platform-breadcrumb .crumb span[style*="color:var(--ink)"],
#_plt_breadcrumb .crumb span[style*="color:var(--ink)"] {
  color: var(--ink) !important;
  font-weight: 500;
}

html[data-theme="light"] .amy-platform-breadcrumb .crumb,
html[data-theme="light"] #_plt_breadcrumb .crumb {
  color: rgba(26, 20, 19, 0.48);
}

html[data-theme="light"] .amy-platform-breadcrumb .crumb a,
html[data-theme="light"] #_plt_breadcrumb .crumb a {
  color: rgba(26, 20, 19, 0.48);
}

html[data-theme="light"] .amy-platform-breadcrumb .crumb a:hover,
html[data-theme="light"] #_plt_breadcrumb .crumb a:hover,
html[data-theme="light"] .amy-platform-breadcrumb .crumb span[style*="color:var(--ink)"],
html[data-theme="light"] #_plt_breadcrumb .crumb span[style*="color:var(--ink)"] {
  color: #1a1413 !important;
}

/* ============ SECTION SHELL ============ */

header.hero,
section.section,
section.section-alt,
section.connect-band,
section.agents-section,
section.cta {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

section.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

section.agents-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

section.section-alt {
  padding-top: 120px;
  padding-bottom: 120px;
}

section.connect-band {
  padding-top: 0 !important;
  padding-bottom: 120px;
}

section.cta {
  padding-top: 60px;
  padding-bottom: 120px;
  margin: 0;
}

/* ============ HERO ============ */

header.hero {
  padding-top: 0;
  padding-bottom: 60px;
  margin-top: 0;
}

header.hero > .container > .crumb,
header.hero > .crumb {
  display: none !important;
}

.hero-grid,
.hero .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero .preview {
  height: 490px;
  min-height: 0;
  max-height: none;
}

header.hero .mw-hero-title {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

header.hero .mw-hero-line {
  display: block;
}

header.hero .mw-hero-title .acc {
  background: var(--amber);
  color: var(--amber-ink);
}

/* ============ HERO CTAs ============ */

.hero .cta-row,
.amy-ev-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 28px;
}

.hero .cta-row .btn,
.amy-ev-hero-ctas .btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2, var(--line));
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  letter-spacing: -0.01em;
}

.hero .cta-row .btn:hover,
.amy-ev-hero-ctas .btn:hover {
  transform: translateY(-1px);
}

.hero .cta-row .btn.primary,
.amy-ev-hero-ctas .btn.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.hero .cta-row .btn .arr,
.amy-ev-hero-ctas .btn .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.hero .cta-row .btn.primary .arr,
.amy-ev-hero-ctas .btn.primary .arr {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn.primary,
html[data-theme="dark"] .hero .cta-row .btn.primary {
  background: #f5f5f7 !important;
  color: #0a0a0b !important;
  border-color: #f5f5f7 !important;
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn.primary .arr,
html[data-theme="dark"] .hero .cta-row .btn.primary .arr {
  color: #0a0a0b !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn:not(.primary),
html[data-theme="dark"] .hero .cta-row .btn:not(.primary) {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .amy-ev-hero-ctas .btn:not(.primary):hover,
html[data-theme="dark"] .hero .cta-row .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .amy-ev-hero-ctas .btn.primary,
html[data-theme="light"] .hero .cta-row .btn.primary {
  background: #1a1413 !important;
  color: #fbf6f1 !important;
  border-color: #1a1413 !important;
}

html[data-theme="light"] .amy-ev-hero-ctas .btn:not(.primary):hover,
html[data-theme="light"] .hero .cta-row .btn:not(.primary):hover {
  background: #f5ede4 !important;
}

/* ============ AGENTS LIBRARY — section shell (carousel in platform-pages.css) ============ */

section.agents-section {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.agents-tabs-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0 0 36px;
}

.agents-section h2 {
  font-size: clamp(42px, 5.6vw, 72px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  padding-bottom: 0.16em !important;
}

.agents-section h2 em {
  font-style: normal;
}

.agents-count {
  font-family: "Instrument Serif", serif;
  font-style: normal;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  color: var(--ink-2);
  padding-bottom: 0.4em;
  white-space: nowrap;
}

.agents-section .agents-lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 0 32px;
}

.lib-tabs {
  display: flex;
  flex-wrap: nowrap;
}

/* ============ RESPONSIVE ============ */







/**
 * Platform My Work — page-specific styles.
 * Scoped to #myw-page.
 * Shared platform layout lives in platform-pages.css / components.css.
 *
 * CSS prefix: mw-  (page-specific additions only)
 * Design token: --ds-amber for My Work accent colour.
 */

/* ===== HERO — amber accent ===== */
#myw-page .plt-hero h1 .plt-acc {
  background: var(--ds-amber);
  color: var(--ds-amber-ink);
}

#myw-page .plt-pill {
  background: var(--ds-amber);
  color: var(--ds-amber-ink);
}

/* ===== DEEP GRID (five surfaces) ===== */
#myw-page .myw-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

#myw-page .myw-deep {
  border: 1px solid var(--ds-line);
  border-radius: 22px;
  padding: 28px;
  background: var(--ds-bg-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .3s, transform .3s;
}

#myw-page .myw-deep:hover {
  border-color: var(--ds-line-2);
  transform: translateY(-2px);
}

#myw-page .myw-deep.myw-s6 {
  grid-column: span 1;
}

#myw-page .myw-deep.myw-s12 {
  grid-column: span 2;
}

#myw-page .myw-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ds-font-mono), monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ds-ink-3);
  align-self: flex-start;
}

#myw-page .myw-badge .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

#myw-page .myw-deep h3 {
  font-family: var(--ds-font-serif), serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
  padding-bottom: .04em;
}

#myw-page .myw-deep p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ds-ink-2);
  margin: 0;
}

/* ===== CONNECT BAND — 5 col ===== */
#myw-page .plt-cb-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ===== CTA — amber theme ===== */
#myw-page .plt-cta-inner {
  background: var(--ds-amber);
  color: var(--ds-amber-ink);
}

/* ============ DEEP GRID ============ */

article.deep.s-12 {
  min-height: auto;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
  .hero-grid,
  .hero .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero .preview {
    height: 440px;
  }

  .section h2 {
    margin: 0 0 20px;
    max-width: 22ch;
    padding-bottom: 0;
  }

  section.agents-section {
    padding-top: 60px !important;
  }

  #myw-page .plt-cb-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  section.section,
  section.section-alt,
  section.connect-band,
  section.cta,
  header.hero {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  section.connect-band {
    padding-top: 0 !important;
  }

  section.cta {
    padding-top: 0 !important;
    padding-bottom: 60px;
  }

  section.agents-section {
    padding-top: 0 !important;
    padding-bottom: 60px;
  }

  section.section-alt {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .lib-tabs {
    flex-wrap: nowrap !important;
  }

  .section h2 {
    margin: 0 0 20px;
    max-width: 22ch;
    padding-bottom: 0;
  }

  header.hero {
    padding-top: 0;
    padding-bottom: 30px;
  }

}

@media (max-width: 767px) {
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }

  section.section,
  section.connect-band,
  section.cta,
  section.section-alt {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  section.agents-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  section.cta {
    padding-top: 0 !important;
    padding-bottom: 50px;
  }

  section#tabs {
    padding-top: 0 !important;
  }

  header.hero {
    padding-bottom: 50px;
  }

  .hero-grid {
    margin-top: 0;
  }

  .section .lede,
  .section > p.lede {
    max-width: 100%;
    margin: 0 0 25px;
  }

  .section h2 {
    margin: 0 0 10px !important;
  }

  .deep {
    border-radius: 24px;
    padding: 20px;
    gap: 12px;
    min-height: auto;
  }

  .deep-grid {
    gap: 20px;
  }

  /* Mobile type scale: 16|15|14.5|14 → 14px; 13.5 → 13px; 12.5 → 12px */
  .hero .lede,
  .hero > .lede,
  .hero p.lede,
  .hero .body,
  .opp p,
  .panel p,
  .panel .copy,
  .panel p.copy,
  .section > .lede,
  .section > p.lede,
  .section .lede,
  .agents-lede,
  .hiw-row .hiw-body p,
  .cnx-row .ds,
  .cta .btn,
  .amy-ev-hero-ctas .btn,
  .hero .cta-row .btn,
  .btn {
    font-size: 14px !important;
  }

  .feat p,
  .feat ul li,
  .cap p,
  .hiw-list li,
  .cb-card p {
    font-size: 13px !important;
  }

  .conn-tile,
  .subnav a,
  .nav .links a {
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {
#myw-page .myw-deep.myw-s12 {
    grid-column: span 2;
  }

  #myw-page .plt-cb-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
#myw-page .myw-deep-grid {
    grid-template-columns: 1fr;
  }

  #myw-page .myw-deep.myw-s12 {
    grid-column: span 1;
  }

  #myw-page .plt-cb-grid--5 {
    grid-template-columns: 1fr 1fr;
  }
}
