/* TALANUM Resources V2 visual refinement.
   Loaded after resources.css. Preview-only until owner PASS. */

/* Hub hierarchy: H1 and article titles use Fraunces; supporting UI/copy uses Inter. */
.resources-section-head h2,
.resources-standards-section h2,
.resource-cta h2{
  font-family:Inter,system-ui,sans-serif!important;
  font-weight:700!important;
  font-style:normal!important;
  font-synthesis:none;
  letter-spacing:-.045em!important;
}
.resources-hero h1{
  font-family:Fraunces,Georgia,serif!important;
  font-weight:500!important;
  font-style:normal!important;
  font-synthesis:none;
  letter-spacing:-.025em!important;
  font-size:clamp(44px,5vw,72px)!important;
  line-height:.98!important;
  max-width:760px;
}
.resources-section-head h2{
  font-size:clamp(30px,3vw,42px)!important;
  line-height:1.08!important;
  max-width:690px;
}
.resource-card h2,
.resource-card h3{
  font-family:Fraunces,Georgia,serif!important;
  font-weight:500!important;
  font-style:normal!important;
  font-synthesis:none;
  letter-spacing:-.025em!important;
}
.resource-card h3{
  font-size:clamp(33px,3.2vw,46px)!important;
  line-height:1.03!important;
}

/* Hero: keep the strong black statement, but counterweight it with one full-strength brand yellow. */
.resources-hero{
  grid-template-columns:minmax(0,1.03fr) minmax(420px,.97fr);
  background:var(--black);
  border-color:#252525;
  min-height:560px;
}
.resources-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(52px,6vw,90px);
}
.resources-hero-copy>p:not(.eyebrow){
  font-size:17px;
  line-height:1.68;
  max-width:650px;
}
.resources-hero-visual{
  position:relative;
  min-height:560px;
  overflow:hidden;
  border-left:1px solid #2a2a2a;
  background:var(--yellow);
  color:var(--black);
  padding:clamp(34px,4vw,54px);
  display:grid;
  grid-template-rows:minmax(300px,1fr) auto;
  gap:28px;
}
.resource-visual-stage{
  position:relative;
  min-height:320px;
}
.resource-mini-page{
  position:absolute;
  width:min(68%,360px);
  aspect-ratio:1.25/1;
  border:1px solid rgba(15,15,15,.18);
  border-radius:18px;
  padding:18px;
  box-shadow:0 24px 55px rgba(15,15,15,.15);
  overflow:hidden;
}
.resource-mini-page.source{
  left:0;
  top:14px;
  background:#fff;
  transform:rotate(-4deg);
  animation:resourceFloatA 7s ease-in-out infinite;
}
.resource-mini-page.target{
  right:0;
  bottom:5px;
  background:#111;
  color:#fff;
  transform:rotate(3deg);
  animation:resourceFloatB 7.6s ease-in-out infinite;
}
.resource-mini-page-head{
  display:flex;
  gap:6px;
  align-items:center;
  height:18px;
  border-bottom:1px solid rgba(127,127,127,.25);
  margin-bottom:16px;
}
.resource-mini-page-head span{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#c8c8c4;
}
.resource-mini-page.target .resource-mini-page-head span{background:#555}
.resource-mini-page-body{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;height:calc(100% - 34px)}
.resource-mini-page-copy{display:grid;align-content:start;gap:9px}
.resource-mini-page-copy i{display:block;height:8px;border-radius:20px;background:#deded9}
.resource-mini-page-copy i:nth-child(1){width:88%;height:18px;background:#1a1a1a}
.resource-mini-page-copy i:nth-child(2){width:68%}
.resource-mini-page-copy i:nth-child(3){width:82%}
.resource-mini-page-copy i:nth-child(4){width:54%}
.resource-mini-page.target .resource-mini-page-copy i{background:#414141}
.resource-mini-page.target .resource-mini-page-copy i:nth-child(1){background:#fff}
.resource-mini-page-media{border-radius:12px;background:#f1f1ed;position:relative;overflow:hidden}
.resource-mini-page.source .resource-mini-page-media:before{
  content:"";
  position:absolute;
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--yellow);
  right:18px;
  top:20px;
}
.resource-mini-page.target .resource-mini-page-media{background:#2a2a2a}
.resource-mini-page.target .resource-mini-page-media:before{
  content:"";
  position:absolute;
  inset:22% 18%;
  border:1px solid #666;
  border-radius:50%;
}
.resource-mini-page.target .resource-mini-page-media:after{
  content:"";
  position:absolute;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--yellow);
  left:calc(50% - 6px);
  top:calc(50% - 6px);
}
.resource-visual-route{
  position:absolute;
  left:28%;
  top:49%;
  width:47%;
  height:2px;
  background:rgba(15,15,15,.24);
  transform:rotate(18deg);
  transform-origin:left center;
}
.resource-visual-route:after{
  content:"";
  position:absolute;
  top:-5px;
  left:0;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#111;
  animation:resourceRoute 3.4s ease-in-out infinite;
}
.resource-visual-copy{
  max-width:430px;
  align-self:end;
}
.resource-visual-copy strong{
  display:block;
  font:700 clamp(24px,2.5vw,34px)/1.08 Inter,system-ui,sans-serif;
  letter-spacing:-.035em;
}
.resource-visual-copy p{
  color:#3a392f!important;
  font-size:13px!important;
  line-height:1.55!important;
  margin:12px 0 0!important;
  max-width:390px!important;
}
@keyframes resourceFloatA{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(-2.7deg)}}
@keyframes resourceFloatB{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(9px) rotate(1.8deg)}}
@keyframes resourceRoute{0%{left:0;opacity:0}20%{opacity:1}80%{opacity:1}100%{left:calc(100% - 12px);opacity:0}}

/* Guide hub: distinct cards, real continuation arrows only on links. */
.resources-section{background:#f0f0ed}
.resources-section-head{
  background:#fff;
  align-items:center;
  padding:clamp(38px,4.4vw,58px);
}
.resources-section-head>p{font-size:15px;line-height:1.65}
.resource-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding:18px;
  background:#efefeb;
}
.resource-card{
  border:1px solid rgba(15,15,15,.11);
  border-radius:18px;
  min-height:330px;
  box-shadow:0 10px 28px rgba(15,15,15,.025);
}
.resource-card:hover{
  background:#fff;
  transform:translateY(-2px);
  box-shadow:0 15px 36px rgba(15,15,15,.06);
}
.resource-card.featured{
  grid-column:1/-1;
  grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);
  gap:0;
  align-items:stretch;
  padding:0;
  overflow:hidden;
  background:#fff;
}
.resource-card.featured>div:first-child{padding:clamp(34px,4vw,52px)}
.resource-card .resource-number{
  margin-bottom:30px;
  color:#777;
}
.resource-card.featured .resource-card-side{
  border-left:1px solid rgba(15,15,15,.12);
  padding:clamp(34px,4vw,48px);
  background:#f2f2ef;
  justify-content:center;
}
.resource-card.featured .resource-card-side strong{
  font:700 12px Inter,sans-serif;
  text-transform:uppercase;
  letter-spacing:.09em;
  margin-bottom:18px;
}
.resource-card.featured .resource-card-side li{
  display:flex;
  gap:11px;
  align-items:flex-start;
  padding:12px 0;
  color:#4d4d49;
}
.resource-card.featured .resource-card-side li:before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  margin-top:5px;
  border-radius:2px;
  background:#111;
}
.resource-card:nth-child(2){background:#fff}
.resource-card:nth-child(3){background:#f8f8f5}
.resource-card .resource-meta{padding-top:22px}
.resource-arrow{
  transition:transform .18s ease,background .18s ease;
}
.resource-card:hover .resource-arrow{transform:translateX(3px);background:#262626}

/* Editorial principles are intentionally neutral: no secondary yellow tint and no extra yellow billboard. */
.resources-standards-section{
  background:#f1f1ee;
  border-color:#d8d8d3;
}
.resources-standards-section .resources-section-head{
  background:#f7f7f4;
  border-bottom:1px solid #d8d8d3;
  grid-template-columns:minmax(0,1fr) minmax(280px,.45fr);
}
.resources-standards-section .resources-section-head .eyebrow,
.resources-standards-section .resources-section-head>p{color:#575752}
.resources-standards-section .resources-principles{
  gap:1px;
  background:#d8d8d3;
}
.resources-standards-section .resources-principles article{
  background:#fff;
  min-height:180px;
  padding:30px;
}
.resources-standards-section .resources-principles span{
  width:36px;
  height:36px;
  margin:0 0 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:10px;
  letter-spacing:.04em;
}
.resources-standards-section .resources-principles h3{font-size:20px;margin-bottom:8px}
.resources-standards-section .resources-principles p{font-size:13px;line-height:1.55;max-width:310px}

/* Article typography: H1 and the black statement blocks keep Fraunces; working section headings stay sans. */
.guide-header h1{
  font-family:Fraunces,Georgia,serif!important;
  font-weight:500!important;
  font-style:normal!important;
  font-synthesis:none;
  letter-spacing:-.025em!important;
  margin-bottom:22px;
}
.guide-section h2,
.guide-section h3,
.guide-next strong{
  font-family:Inter,system-ui,sans-serif!important;
  font-style:normal!important;
  font-synthesis:none;
}
.guide-section h2{
  font-weight:700!important;
  letter-spacing:-.035em!important;
}
.guide-section h3,
.guide-next strong{
  font-weight:700!important;
  letter-spacing:-.02em!important;
}
.guide-bottom-line h2{
  font-family:Fraunces,Georgia,serif!important;
  font-weight:500!important;
  font-style:normal!important;
  font-synthesis:none;
  letter-spacing:-.025em!important;
}

/* Breadcrumb is quiet utility text on the normal page background, not a pill. */
.guide-breadcrumb{
  width:auto;
  max-width:100%;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#7b7b75;
  font:500 12px/1.35 Inter,system-ui,sans-serif;
  text-transform:none;
  letter-spacing:.02em;
  margin-bottom:12px;
}
.guide-breadcrumb a{
  text-decoration:none;
  color:#6f6f6a;
}
.guide-breadcrumb a:hover{color:#111}
.guide-breadcrumb span:first-of-type{font-size:0}
.guide-breadcrumb span:first-of-type:after{content:"/";font-size:12px;color:#aaa9a3}
.guide-header>div:nth-child(2)>.eyebrow{
  color:#5f5f5a;
  font-weight:700;
  letter-spacing:.15em;
  margin-bottom:14px;
}

@media(max-width:1000px){
  .resources-hero{grid-template-columns:1fr;min-height:0}
  .resources-hero-visual{border-left:0;border-top:1px solid #2a2a2a;min-height:470px;grid-template-rows:minmax(270px,1fr) auto}
  .resource-card.featured{grid-template-columns:1fr}
  .resource-card.featured .resource-card-side{border-left:0;border-top:1px solid rgba(15,15,15,.12)}
  .resources-standards-section .resources-section-head{grid-template-columns:1fr}
}
@media(max-width:700px){
  .resources-hero h1{font-size:clamp(42px,12vw,58px)!important}
  .resources-hero-visual{min-height:420px;padding:28px 24px;grid-template-rows:minmax(245px,1fr) auto}
  .resource-mini-page{width:72%;padding:14px;border-radius:15px}
  .resource-visual-stage{min-height:260px}
  .resource-grid{grid-template-columns:1fr;padding:12px;gap:12px}
  .resource-card{border-radius:15px}
  .resource-card.featured>div:first-child{padding:32px 27px}
  .resource-card.featured .resource-card-side{padding:30px 27px}
  .resources-standards-section .resources-principles{grid-template-columns:1fr}
  .resources-standards-section .resources-principles article{min-height:0;padding:27px}
  .guide-breadcrumb{margin-bottom:10px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .resource-mini-page.source,
  .resource-mini-page.target,
  .resource-visual-route:after{animation:none!important}
}
