/* =========================================================================
   物流の未来.jp — TOP ハイファイ デザインシステム
   2テーマ: .theme-a（信頼・コーポレート） / .theme-b（先進・テック）
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700;800&family=Zen+Old+Mincho:wght@500;600;700;900&family=Noto+Sans+JP:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy: #1B254D;
  --navy-700: #283566;
  --navy-800: #18213f;
  --navy-900: #0e1530;
  --accent: #F0841A;
  --accent-2: #F5A04A;
  --accent-deep: #D96E0A;
  --accent-grad: linear-gradient(100deg, #F0841A 0%, #F5A04A 60%, #FFB35C 100%);
  --paper: #ffffff;
  --mist: #f6f7fb;
  --mist-2: #eef0f6;
  --line: #e3e6ef;
  --ink: #1a1f33;
  --ink-soft: #5b6478;
  --ink-mute: #8a92a6;
  --sans: "Noto Sans JP", system-ui, sans-serif;
  --mincho: "Shippori Mincho", serif;
  --mincho-b: "Zen Old Mincho", serif;
  --grotesk: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #d8dae2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* page wrapper = one variation */
.page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--paper);
  overflow: hidden;
  position: relative;
}

/* ---- container ---- */
.wrap { padding-left: 64px; padding-right: 64px; }
@media (max-width: 900px){ .wrap { padding-left: 24px; padding-right: 24px; } }

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
.eyebrow {
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-light { color: var(--accent-2); }

.display {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
.h-sec {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.h-card {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.lead {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  font-weight: 400;
}
.meta {
  font-family: var(--grotesk);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.label-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s;
  position: relative;
}
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-accent {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(240,132,26,.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(240,132,26,.6); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 13px; border-radius: 8px; }

/* link with arrow */
.link-arr {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex-shrink: 0;
  font-weight: 700; font-size: 14px; color: var(--navy);
}
.link-arr .arr { color: var(--accent); transition: transform .25s; }
.link-arr:hover .arr { transform: translateX(4px); }

/* =========================================================================
   CHIPS / TAGS
   ========================================================================= */
.chip {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: var(--mist-2); color: var(--navy);
  border: 1px solid transparent;
}
.chip-accent { background: rgba(240,132,26,.12); color: var(--accent-deep); }
.chip-line { background: transparent; border-color: var(--line); color: var(--ink-soft); }
.chip-cat {
  background: var(--navy); color: #fff;
  font-size: 11px; padding: 4px 11px; letter-spacing: .03em;
}

/* =========================================================================
   PHOTO with brand overlay
   ========================================================================= */
.photo { position: relative; overflow: hidden; border-radius: 12px; background: var(--mist-2); }
.photo image-slot { width: 100%; height: 100%; display: block; }
.photo .ov {
  position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
}
.photo .ov-navy { background: linear-gradient(180deg, rgba(27,37,77,.10) 0%, rgba(27,37,77,.55) 100%); }
.photo .ov-duo { background: linear-gradient(140deg, rgba(27,37,77,.62) 0%, rgba(27,37,77,.18) 55%, rgba(240,132,26,.30) 100%); mix-blend-mode: multiply; }
.photo .ov-grain { background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 4px 4px; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--mincho); font-weight: 800; font-size: 19px;
  background: var(--accent-grad); color: #fff;
}
.brand-name { font-family: var(--mincho); font-size: 21px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.brand-name .tld { font-family: var(--grotesk); font-weight: 600; font-size: 16px; opacity: .7; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 14px; font-weight: 500; position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .28s cubic-bezier(.2,.7,.3,1);
}
.nav-link:hover::after { right: 0; }
.nav-search {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1.5px solid var(--line); cursor: pointer; transition: .2s;
}
.nav-search:hover { border-color: var(--navy); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1.15fr; gap: 56px; align-items: center; padding: 30px 64px 84px; }
.hero h1 { font-family: var(--mincho); font-weight: 800; font-size: 58px; line-height: 1.2; margin: 18px 0 0; letter-spacing: .02em; }
.hero h1 .em { color: var(--accent); }
.hero .lead { color: #c7cce0; margin-top: 22px; font-size: 16px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-photo { aspect-ratio: 4/3.1; border-radius: 16px; }
.hero-stat {
  position: absolute; left: -26px; bottom: -26px;
  background: #fff; color: var(--navy); border-radius: 14px;
  padding: 16px 24px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.4);
  display: flex; flex-direction: column; gap: 2px;
}
.hero-stat .n { font-family: var(--grotesk); font-weight: 700; font-size: 34px; line-height: 1; }
.hero-stat .u { font-size: 12px; color: var(--ink-soft); letter-spacing: .02em; }

/* =========================================================================
   TOPICS BAR
   ========================================================================= */
.topics { display: flex; align-items: center; gap: 16px; padding: 18px 64px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.topics .lbl { font-family: var(--grotesk); font-size: 12px; letter-spacing: .1em; color: var(--ink-mute); }
.topic-pill {
  font-size: 13px; font-weight: 500; padding: 7px 15px; border-radius: 999px;
  background: var(--mist); transition: .2s; cursor: pointer; white-space: nowrap;
}
.topic-pill:hover { background: var(--mist-2); }
.topic-pill.hot { background: rgba(240,132,26,.12); color: var(--accent-deep); font-weight: 700; }

/* =========================================================================
   SECTION scaffolding
   ========================================================================= */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 38px; }
.section-head .ttl-wrap { display: flex; flex-direction: column; gap: 10px; }

/* ---- Latest articles ---- */
.latest-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; }
.feature .photo { aspect-ratio: 16/9.2; margin-bottom: 18px; }
.feature .tags { display: flex; gap: 8px; margin-bottom: 12px; }
.feature h3 { font-family: var(--mincho); font-weight: 700; font-size: 27px; line-height: 1.45; margin: 0 0 12px; }
.feature .lead { font-size: 14px; line-height: 1.9; }
.mini-list { display: flex; flex-direction: column; }
.mini {
  display: grid; grid-template-columns: 116px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.mini:first-child { padding-top: 0; }
.mini .photo { aspect-ratio: 4/3; border-radius: 10px; }
.mini h4 { font-family: var(--mincho); font-weight: 600; font-size: 15px; line-height: 1.5; margin: 8px 0 8px; }

/* ---- 課題 cards ---- */
.kadai { background: var(--mist); }
.kadai-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 44px; }
.kadai-rule { width: 52px; height: 3px; background: var(--accent-grad); border-radius: 2px; }
.kadai-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.kadai-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.kadai-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(27,37,77,.4); border-color: transparent; }
.kadai-ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(240,132,26,.1); color: var(--accent-deep);
}
.kadai-ic svg { width: 30px; height: 30px; }
.kadai-card h4 { font-family: var(--mincho); font-weight: 600; font-size: 16px; line-height: 1.5; margin: 0; min-height: 48px; display: flex; align-items: center; }
.kadai-go { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); margin-top: auto; }
.kadai-go .arr { transition: transform .25s; }
.kadai-card:hover .kadai-go .arr { transform: translateX(4px); }

/* ---- categories ---- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile {
  display: flex; align-items: center; gap: 12px; padding: 18px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: .25s; cursor: pointer;
}
.cat-tile:hover { border-color: var(--navy); background: var(--mist); }
.cat-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--mist-2); display: grid; place-items: center; color: var(--navy); flex-shrink: 0; }
.cat-ic svg { width: 21px; height: 21px; }
.cat-tile .nm { font-family: var(--mincho); font-weight: 600; font-size: 15px; }
.cat-tile .go { margin-left: auto; color: var(--accent); font-weight: 700; transition: transform .25s; }
.cat-tile:hover .go { transform: translateX(4px); }

/* ---- ranking + 診断 ---- */
.rank-wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; }
.rank-list { display: flex; flex-direction: column; gap: 14px; }
.rank-row {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: .25s; cursor: pointer;
}
.rank-row:hover { box-shadow: 0 16px 34px -20px rgba(27,37,77,.4); transform: translateX(4px); border-color: transparent; }
.rank-num { font-family: var(--grotesk); font-weight: 700; font-size: 17px; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--mist); color: var(--navy); flex-shrink: 0; }
.rank-row:nth-child(-n+3) .rank-num { background: var(--accent-grad); color: #fff; }
.rank-row h4 { font-family: var(--mincho); font-weight: 600; font-size: 16.5px; line-height: 1.5; margin: 0; flex: 1; }
.rank-pv { font-family: var(--grotesk); font-size: 12px; color: var(--ink-mute); white-space: nowrap; }

.diag {
  background: var(--navy); color: #fff; border-radius: 18px; padding: 30px;
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}
.diag h3 { font-family: var(--mincho); font-weight: 700; font-size: 25px; margin: 4px 0 0; }
.diag .lead { color: #c7cce0; font-size: 14px; line-height: 1.85; }
.diag-qs { display: flex; flex-direction: column; gap: 9px; }
.diag-q {
  display: flex; align-items: center; gap: 11px; padding: 13px 15px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; font-size: 13.5px;
}
.diag-q .qn { font-family: var(--grotesk); font-weight: 700; color: var(--accent-2); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--navy-900); color: #aeb6d2; padding: 60px 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer h5 { color: #fff; font-size: 13px; font-weight: 700; margin: 0 0 14px; letter-spacing: .04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li { font-size: 13px; transition: color .2s; cursor: pointer; }
.footer li:hover { color: #fff; }
.footer-sns { display: flex; gap: 10px; margin-top: 18px; }
.footer-sns span { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-family: var(--grotesk); font-size: 12px; color: #fff; }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--grotesk); font-size: 11.5px; letter-spacing: .05em; color: #7782a8; }

/* =========================================================================
   MOTION — scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } }

/* =========================================================================
   SWITCHER
   ========================================================================= */
.switcher {
  position: fixed; bottom: 18px; right: 18px; z-index: 9999;
  display: flex; gap: 4px; padding: 5px; border-radius: 12px;
  background: rgba(14,21,48,.9); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
}
.switcher button {
  font-family: var(--sans); font-weight: 700; font-size: 12.5px;
  padding: 9px 16px; border-radius: 8px; border: none; cursor: pointer;
  background: transparent; color: #c7cce0; transition: .2s; white-space: nowrap;
}
.switcher button.on { background: var(--accent-grad); color: #fff; }

/* =========================================================================
   ===============  THEME A — 信頼・コーポレート  =========================
   明朝・余白広め・白基調・装飾控えめ
   ========================================================================= */
.theme-a { --mincho: "Shippori Mincho", serif; }
.theme-a .section { padding-top: 92px; padding-bottom: 92px; }
.theme-a .hero { background: var(--navy); }
.theme-a .hero::after {
  content: ""; position: absolute; right: 0; top: 0; width: 46%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240,132,26,.05));
  pointer-events: none;
}
.theme-a .display, .theme-a .hero h1 { font-weight: 700; }
/* thin refined section heads */
.theme-a .section-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; }

/* =========================================================================
   ===============  THEME B — 先進・テック  ===============================
   ネイビー基調・グラデ・グリッドテクスチャ・密度高め
   ========================================================================= */
.theme-b { --mincho: "Zen Old Mincho", serif; background: #0b1124; }
.theme-b .page { background: var(--navy-900); color: #e7eaf4; }
.theme-b { --ink: #e7eaf4; --ink-soft: #aab2cc; --ink-mute: #7d87a6; --line: #283254; --mist: #131c3a; --mist-2: #1b2647; --paper: #0e1530; }

.theme-b .nav { border-bottom: 1px solid var(--line); }
.theme-b .brand-name { color: #fff; }
.theme-b .nav-link { color: #cdd3e8; }
.theme-b .nav-search { border-color: var(--line); color: #cdd3e8; }

/* tech hero with grid + glow */
.theme-b .hero { background: radial-gradient(120% 120% at 80% 0%, #243161 0%, #131c3a 45%, #0b1124 100%); }
.theme-b .hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .35;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
}
.theme-b .hero::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,132,26,.28), transparent 65%);
  pointer-events: none; filter: blur(20px);
}
.theme-b .hero h1 .em { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.theme-b .hero-stat { background: var(--navy-800); color: #fff; border: 1px solid var(--line); }
.theme-b .hero-stat .u { color: var(--ink-soft); }

.theme-b .topics { border-color: var(--line); }
.theme-b .topic-pill { background: var(--mist); color: #cdd3e8; }
.theme-b .topic-pill:hover { background: var(--mist-2); }
.theme-b .topic-pill.hot { background: rgba(240,132,26,.16); color: var(--accent-2); }

.theme-b .chip { background: var(--mist-2); color: #cdd3e8; }
.theme-b .chip-accent { background: rgba(240,132,26,.18); color: var(--accent-2); }
.theme-b .chip-line { border-color: var(--line); color: var(--ink-soft); background: transparent; }
.theme-b .chip-cat { background: var(--accent-grad); color: #fff; }

.theme-b .feature h3, .theme-b .mini h4, .theme-b .h-card, .theme-b .kadai-card h4,
.theme-b .cat-tile .nm, .theme-b .rank-row h4, .theme-b .h-sec { color: #fff; }
.theme-b .link-arr { color: #fff; }
.theme-b .mini, .theme-b .section-head { border-color: var(--line); }

.theme-b .kadai { background: var(--navy-800); }
.theme-b .kadai-card { background: var(--mist); border-color: var(--line); }
.theme-b .kadai-card:hover { box-shadow: 0 22px 50px -20px rgba(0,0,0,.6); }
.theme-b .kadai-ic { background: rgba(240,132,26,.16); color: var(--accent-2); }

.theme-b .cat-tile { background: var(--mist); border-color: var(--line); }
.theme-b .cat-tile:hover { background: var(--mist-2); border-color: var(--accent); }
.theme-b .cat-ic { background: var(--mist-2); color: var(--accent-2); }

.theme-b .rank-row { background: var(--mist); border-color: var(--line); }
.theme-b .rank-num { background: var(--mist-2); color: #fff; }
.theme-b .diag { background: linear-gradient(150deg, #243161, #131c3a); border: 1px solid var(--line); }
.theme-b .diag::after { content:""; position:absolute; right:-40px; top:-40px; width:200px; height:200px; border-radius:50%; background: radial-gradient(circle, rgba(240,132,26,.3), transparent 65%); pointer-events:none; }

.theme-b .footer { background: #070b1a; }
.theme-b .btn-ghost { color: #fff; border-color: var(--line); }
.theme-b .btn-ghost:hover { border-color: var(--accent); }

/* theme-b denser sections */
.theme-b .section { padding-top: 76px; padding-bottom: 76px; }
.theme-b .eyebrow { letter-spacing: .26em; }

/* =========================================================================
   ===============  REFINEMENTS — 案A 磨き込み  ==========================
   ========================================================================= */

/* photo hover-zoom (editorial polish) */
.photo image-slot, .photo .ov { transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.hov { cursor: pointer; }
.hov:hover .photo image-slot { transform: scale(1.05); }

/* section-head: editorial index + leading rule (theme A) */
.theme-a .section-head .ttl-wrap { position: relative; padding-left: 0; }
.theme-a .eyebrow { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.theme-a .eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent-grad); border-radius: 2px;
  display: inline-block; flex-shrink: 0;
}
.theme-a .hero .eyebrow { display: inline-block; white-space: nowrap; }
.theme-a .hero .eyebrow::before { display: none; }
.theme-a .sec-idx {
  font-family: var(--grotesk); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; color: var(--ink-mute);
}

/* hero: accent rule + tightened type */
.theme-a .hero h1 { letter-spacing: .03em; }
.theme-a .hero .eyebrow::before { background: var(--accent-2); }
.theme-a .hero-stat { box-shadow: 0 30px 60px -22px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.7); }
.theme-a .hero-photo, .theme-a .hero-media .photo { box-shadow: 0 40px 80px -36px rgba(0,0,0,.6); }

/* feature/mini clickable affordance */
.feature h3, .mini h4 { transition: color .2s; }
.hov:hover h3, .hov:hover h4 { color: var(--accent-deep); }

/* refined link hover underline */
.link-arr { position: relative; }
.link-arr::after { content:""; position:absolute; left:0; right:100%; bottom:-3px; height:1.5px; background: var(--accent); transition: right .3s cubic-bezier(.2,.7,.3,1); }
.link-arr:hover::after { right: 26px; }

/* topics: subtle hover lift */
.topic-pill { transition: background .2s, transform .2s; }
.topic-pill:hover { transform: translateY(-1px); }

/* kadai card icon pop on hover */
.kadai-ic, .cat-ic { transition: transform .3s cubic-bezier(.2,.7,.3,1), background .25s; }
.kadai-card:hover .kadai-ic { transform: scale(1.08) rotate(-3deg); }
.cat-tile:hover .cat-ic { background: rgba(240,132,26,.12); color: var(--accent-deep); }

