/* 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}



/* Real client proof: image-led case study focal point. */
.resources-case-section .resources-section-head{
  border-bottom:1px solid #d8d8d3;
}
.resources-case-section .resource-grid{
  padding:0;
  gap:0;
  background:transparent;
}
.resource-case-grid{grid-template-columns:1fr}
.resource-case-feature{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  min-height:440px;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:#0f0f0f;
  color:#fff;
  text-decoration:none;
  box-shadow:none;
}
.resource-case-feature:hover{transform:none;box-shadow:none}
.resource-case-copy{display:flex;flex-direction:column;padding:clamp(36px,4.3vw,58px);min-width:0}
.resource-case-feature .resource-number{
  display:block;
  margin-bottom:28px;
  color:#fdc41f;
  font:700 11px Inter,sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.resource-case-feature h2{
  max-width:700px;
  margin:0 0 20px;
  color:#fff;
  font-family:Fraunces,Georgia,serif;
  font-size:clamp(38px,4.35vw,60px);
  font-weight:500;
  line-height:1.01;
  letter-spacing:-.025em;
}
.resource-case-feature p{max-width:620px;margin:0 0 26px;color:#c7c7c1;font-size:15px;line-height:1.68}
.resource-case-proof{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 32px}
.resource-case-proof span{
  padding:7px 10px;
  border:1px solid #383834;
  border-radius:999px;
  color:#d7d7d1;
  font:600 10px Inter,sans-serif;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.resource-case-action{
  margin-top:auto;
  padding-top:22px;
  border-top:1px solid #363632;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.resource-case-action strong{color:#fff;font:700 12px Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.resource-case-feature .resource-arrow{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fdc41f;
  color:#0f0f0f;
  font-size:18px;
  line-height:1;
}
.resource-case-feature:hover .resource-arrow{transform:translateX(3px);background:#ffd65d}
.resource-case-visual{position:relative;min-height:440px;overflow:hidden;background:#eee9dc}
.resource-case-visual:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 22px 0 38px rgba(15,15,15,.11);
}
.resource-case-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:440px;
  object-fit:cover;
  object-position:center center;
  transition:transform .7s cubic-bezier(.22,.75,.2,1);
}
.resource-case-feature:hover .resource-case-visual img{transform:scale(1.018)}
.resource-case-language{
  position:absolute;
  right:20px;
  top:20px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px;
  border-radius:999px;
  background:rgba(15,15,15,.78);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(15,15,15,.16);
}
.resource-case-language span{
  display:grid;
  place-items:center;
  min-width:38px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#fff;
  color:#111;
  font:800 11px Inter,sans-serif;
  letter-spacing:.04em;
}
.resource-case-language i{color:#fdc41f;font:700 13px Inter,sans-serif;font-style:normal}

/* 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 follows the TALANUM brand hierarchy:
   H1/H2 stay Fraunces; working section headings use H3 + Inter. */
.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 h3,
.guide-next strong{
  font-family:Inter,system-ui,sans-serif!important;
  font-style:normal!important;
  font-synthesis:none;
  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){
  .resource-case-feature{grid-template-columns:1fr}
  .resource-case-visual{min-height:390px}
  .resource-case-visual img{min-height:390px}
  .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){
  .resource-case-feature{grid-template-columns:1fr;grid-template-areas:"visual" "copy";min-height:0}
  .resource-case-copy{grid-area:copy;padding:32px 27px}
  .resource-case-visual{grid-area:visual;min-height:330px}
  .resource-case-visual img{min-height:330px}
  .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}
}
