/* Homepage trial: beginner navigation before search and news. */
#home-view{padding-top:0}
.parent-start{padding:0;margin:0 0 24px;color:#17344d}
.parent-start>.eyebrow{font-size:12px;color:#ad382d;letter-spacing:2px;margin:0 0 10px}
.parent-start h2{font-size:clamp(24px,2.6vw,36px);line-height:1.45;margin:0 0 10px}
.parent-start-intro{font-size:16px;line-height:1.8;color:#5b6e7e;margin:0 0 22px}
.parent-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.parent-card{display:flex;flex-direction:column;min-width:0;gap:13px;text-align:left;text-decoration:none;background:#fff;border:1px solid #d7e2eb;border-radius:9px;padding:24px;color:#17344d;font:inherit;cursor:pointer;transition:border-color .18s,box-shadow .18s}
.parent-card-top{display:flex;align-items:center;justify-content:space-between;min-height:46px}
.parent-card-top small{font-size:21px;color:#b93b2e;font-weight:700}
.parent-card-top svg{width:46px;height:46px;color:#173b53}
.parent-card>strong{font-size:clamp(18px,1.65vw,23px);line-height:1.55}
.parent-card-copy{font-size:15px;line-height:1.85;color:#5c6e7d;flex:1}
.parent-card>b{font-size:15px;line-height:1.8;color:#b3372b;margin-top:5px}
.parent-card:hover{border-color:#a55448;box-shadow:0 5px 16px #17344d0c}
.parent-card:focus-visible{outline:3px solid #a85442;outline-offset:4px}
#home-view>.hu-search{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 25px;align-items:center;background:#eaf2f8;border:1px solid #d5e3ee;padding:18px 24px;border-radius:8px;margin-bottom:26px}
#home-view>.hu-search h3{font-size:20px;line-height:1.5;margin:0}
#home-view .home-quick-search{grid-template-columns:145px minmax(0,1fr) 115px;margin:0;gap:10px;align-items:end}
#home-view .home-quick-search label{font-size:12px;gap:5px;color:#536d80}
#home-view .home-quick-search input,#home-view .home-quick-search select{width:100%;min-width:0;background:#fff}
#home-view .home-quick-search button{grid-column:auto;min-height:43px}
#home-view>.hu-search>.filter-note{grid-column:1/-1;margin:0;font-size:12px;color:#536d80}

@media(max-width:1000px){#home-view>.hu-search{grid-template-columns:1fr}.parent-card{padding:20px}.parent-card-copy{font-size:14px}}
@media(max-width:700px){.parent-cards{grid-template-columns:1fr;gap:12px}.parent-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:6px 14px;padding:18px}.parent-card-top{grid-row:1/4;flex-direction:column;justify-content:flex-start;gap:10px;min-height:0}.parent-card-top small{font-size:17px}.parent-card-top svg{width:32px;height:32px}.parent-card>strong{font-size:19px}.parent-card-copy{font-size:14px}.parent-card>b{font-size:14px;margin-top:3px}.parent-start-intro{font-size:14px;margin-bottom:16px}#home-view>.hu-search{padding:18px}#home-view .home-quick-search{grid-template-columns:1fr}#home-view>.hu-search h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.parent-card{transition:none}}

/* Match the approved preview while keeping the existing carousel geometry. */
.topbar{background-color:#123249;background-image:linear-gradient(90deg,#102e46 0%,#163e55ed 42%,#163e5533 72%,#12324915 100%),url('./banners/header-japan-20261029.png');background-repeat:no-repeat;background-position:center,right 30%;background-size:cover,auto 340%;box-shadow:inset 0 -1px 0 #ffffff12}
.topbar-meta{max-width:36%;text-shadow:0 1px 5px #102a43}
.topbar-meta span{background:#123249b8;backdrop-filter:blur(5px)}
#home-view>.hu-search{grid-template-columns:minmax(270px,.38fr) minmax(0,.62fr);gap:0;padding:18px 24px;background:linear-gradient(112deg,#e1effb 0%,#d9eafa 44%,#edf5fc 74%,#daeafb 100%);border:1px solid #d7e7f4;box-shadow:inset 0 1px 0 #ffffffc9,0 4px 16px #244e7005}
#home-view>.hu-search h3{font-size:clamp(18px,1.8vw,24px);padding-right:22px;white-space:nowrap}
#home-view .home-quick-search{grid-template-columns:125px minmax(0,1fr) 120px;gap:10px;padding-left:25px;align-items:center}
#home-view .home-quick-search label{display:block;margin:0;min-width:0}
#home-view .home-quick-search input,#home-view .home-quick-search select{height:45px;padding:10px 13px;font-size:14px;border:1px solid #cbdce9;border-radius:5px;box-shadow:0 2px 5px #244e7004}
#home-view .home-quick-search button{height:45px;padding:8px 15px;font-size:15px;border-radius:5px}
#home-view>.hu-search>.filter-note{display:none}
#home-updates{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:24px 36px;align-items:start;margin-bottom:26px}
#home-updates>.hu-news{padding:0 6px 0 0;background:transparent;border:0;border-radius:0}
#home-updates .hu-heading{margin:0;padding-bottom:12px;border-bottom:1px solid #d9e3eb;align-items:center;min-height:48px}
#home-updates .hu-heading h3{font-size:24px;position:relative;line-height:1.5}
#home-updates .hu-heading h3:after{content:'';position:absolute;left:0;bottom:-13px;width:34px;height:3px;background:#bc3c30}
#home-updates .hu-heading .eyebrow{display:none}
#home-updates .hu-news > .hu-heading { align-items: baseline; }
.home-news-filter-toggle {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #607787;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.home-news-filter-toggle:hover,
.home-news-filter-toggle:focus-visible { text-decoration: underline; }
.home-news-options {
  padding-bottom: 12px;
  border-bottom: 1px solid #dbe5ec;
  color: #607787;
  font-size: 12px;
}
#home-updates #hu-stories{max-height:none;overflow:visible;padding:0}
#home-updates .hu-story,#home-updates .hu-story.hu-lead{display:grid;grid-template-columns:minmax(140px,30%) minmax(0,1fr);gap:20px;padding:18px 0;border-bottom:1px solid #dfe7ed}
#home-updates .hu-story .hu-photo{margin:0}
#home-updates .hu-story .hu-photo img,#home-updates .hu-lead .hu-photo img{width:100%;height:145px;object-fit:cover;border-radius:5px}
#home-updates .hu-story .hu-photo.is-document img{object-fit:contain;background:#edf2f6}
#home-updates .hu-story h4,#home-updates .hu-story.hu-lead h4{font-size:17px;line-height:1.65;margin:0 0 7px}
#home-updates .hu-story-copy{display:flex;flex-direction:column;min-width:0}
#home-updates .hu-story-copy .hu-meta{order:2;font-size:11px;color:#647c8f;margin:8px 0 0}
#home-updates .hu-meta>span:first-child{display:none}
#home-updates .hu-story p{font-size:13px;line-height:1.85;color:#5f7586;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#home-updates .hu-original{font-size:12px;margin-top:5px}
#home-updates .hu-news>.hu-sources,#home-updates .hu-news>.hu-note{font-size:11px;margin:10px 0;color:#6a8091}
.hu-home-sidebar>.hu-mini{padding:0;background:transparent;border:0;border-radius:0}
.hu-home-sidebar>.hu-mini .hu-mini-month{margin-top:16px}
.hu-mini-grid>button{background:linear-gradient(150deg,#fff,#edf3f8);border:1px solid #e0e8ef}
.hu-mini-grid>button.today{background:linear-gradient(135deg,#2c5d7d,#173b56);border-color:#214f70}
#home-updates>.life-home-entry{grid-column:1/-1;position:relative;overflow:hidden;display:flex;flex-direction:row;align-items:center;gap:24px;min-height:112px;padding:22px 30px;margin:0;background:linear-gradient(105deg,#e4eee2,#edf3e7 55%,#e0ecdf);border:1px solid #dce7d9;border-radius:8px}
.home-life-icon{width:48px;height:48px;flex-shrink:0;color:#628160}
#home-updates>.life-home-entry h3{font-size:27px;line-height:1.4;margin:0 0 4px;color:#183b46}
#home-updates>.life-home-entry p{font-size:14px;color:#56705e}
.home-life-skyline{position:absolute;bottom:0;right:155px;width:44%;height:84px;color:#a2b69a;opacity:.6;pointer-events:none}
#home-updates>.life-home-entry>div{position:relative;z-index:1}
#home-updates>.life-home-entry>button{position:relative;z-index:1;margin-left:auto;align-self:center;border:1px solid #6f8c6b;color:#3f653e;background:#f8fbf1a8;border-radius:5px;min-height:38px;padding:7px 18px;white-space:nowrap}
@media(max-width:1000px){#home-view>.hu-search{grid-template-columns:1fr;gap:15px}#home-view>.hu-search h3{border:0;padding:0}#home-view .home-quick-search{padding:0;grid-template-columns:125px minmax(0,1fr) 120px}.topbar-meta{max-width:40%}#home-updates{gap:24px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}#home-updates .hu-story,#home-updates .hu-story.hu-lead{grid-template-columns:110px minmax(0,1fr);gap:14px}#home-updates .hu-story .hu-photo img{height:125px}#home-updates .hu-heading h3{font-size:21px}}
@media(max-width:760px){.topbar{background-size:cover,auto 210%;background-position:center,right 48%}.topbar-meta{max-width:none}#home-updates{grid-template-columns:1fr;gap:26px}#home-updates>.hu-news{padding:0}.hu-home-sidebar{gap:0}#home-updates .hu-story,#home-updates .hu-story.hu-lead{grid-template-columns:110px minmax(0,1fr)}#home-updates>.life-home-entry{gap:15px;padding:22px;min-height:125px}#home-updates>.life-home-entry h3{font-size:23px}#home-updates>.life-home-entry p{font-size:12px}.home-life-icon{width:34px;height:34px}.home-life-skyline{right:0;width:80%;opacity:.3}#home-updates>.life-home-entry>button{padding:7px 12px;font-size:12px}}
@media(max-width:540px){#home-view .home-quick-search{grid-template-columns:100px minmax(0,1fr);gap:10px}#home-view .home-quick-search button{grid-column:1/-1}#home-view .home-quick-search input,#home-view .home-quick-search select{font-size:13px}#home-updates .hu-story,#home-updates .hu-story.hu-lead{grid-template-columns:96px minmax(0,1fr);gap:13px}#home-updates .hu-story .hu-photo img{height:118px}#home-updates .hu-story h4,#home-updates .hu-story.hu-lead h4{font-size:15px}#home-updates .hu-story p{font-size:12px;-webkit-line-clamp:3}#home-updates>.life-home-entry{flex-wrap:wrap}#home-updates>.life-home-entry>button{margin-left:49px}.topbar{background-size:cover,auto 165%}}
/* The remaining budget entry is a compact full-width row. */
.parent-budget-entry .parent-cards{grid-template-columns:1fr}.parent-budget-entry .parent-card{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:5px 22px;align-items:center;padding:22px 28px}.parent-budget-entry .parent-card-top{grid-column:1;grid-row:1/3;min-height:0}.parent-budget-entry .parent-card>strong{grid-column:2;grid-row:1}.parent-budget-entry .parent-card-copy{grid-column:2;grid-row:2}.parent-budget-entry .parent-card>b{grid-column:3;grid-row:1/3;margin:0;white-space:nowrap}@media(max-width:700px){.parent-budget-entry .parent-card{grid-template-columns:36px minmax(0,1fr);gap:5px 15px;padding:19px}.parent-budget-entry .parent-card-top{grid-row:1/4}.parent-budget-entry .parent-card>b{grid-column:2;grid-row:3;margin-top:4px}}
/* A single focused action, with a quieter supporting hierarchy. */
.parent-budget-entry .budget-entry-link{position:relative;isolation:isolate;overflow:hidden;grid-template-columns:64px minmax(0,1fr) auto;gap:26px;padding:26px 32px;border:1px solid #dde6eb;background:linear-gradient(108deg,#f0f5f7 0%,#f8fafb 60%,#fff 100%);border-radius:14px;box-shadow:0 5px 18px #183b5504;transition:box-shadow .25s,border-color .25s,transform .25s}.parent-budget-entry .budget-entry-link:before{content:'';position:absolute;left:0;top:27px;bottom:27px;width:3px;background:#244e67;border-radius:0 3px 3px 0;transition:top .25s,bottom .25s}.budget-entry-icon{display:grid;place-items:center;width:64px;height:64px;background:#fff;border:1px solid #e0e8ed;border-radius:17px;box-shadow:0 4px 10px #163e5305;color:#254e66;transform:rotate(-3deg);transition:transform .25s}.budget-entry-icon svg{width:34px;height:34px}.budget-entry-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.budget-entry-copy small{color:#997448;font-size:11px;font-weight:600;letter-spacing:2px}.budget-entry-copy strong{font-size:24px;line-height:1.5;letter-spacing:.2px}.budget-entry-copy>span{color:#687d8c;font-size:14px;line-height:1.8}.budget-entry-action{display:flex;gap:18px;align-items:center;justify-content:center;background:#214b64;color:#fff;font-size:14px;font-weight:600;padding:13px 20px;border:1px solid #214b64;border-radius:8px;white-space:nowrap;box-shadow:0 5px 12px #183b5510;transition:background .2s,box-shadow .2s}.budget-entry-action svg{width:19px;height:19px;transition:transform .25s}@media(hover:hover){.parent-budget-entry .budget-entry-link:hover{border-color:#b7c9d4;box-shadow:0 9px 25px #183b550b;transform:translateY(-2px);text-decoration:none}.budget-entry-link:hover .budget-entry-icon{transform:rotate(0deg)}.budget-entry-link:hover .budget-entry-action{background:#183c53;box-shadow:0 6px 15px #183b551c}.budget-entry-link:hover .budget-entry-action svg{transform:translateX(3px)}.parent-budget-entry .budget-entry-link:hover:before{top:20px;bottom:20px}}.parent-budget-entry .budget-entry-link:focus-visible{outline:3px solid #b49667;outline-offset:4px}@media(max-width:800px){.parent-budget-entry .budget-entry-link{grid-template-columns:54px minmax(0,1fr);gap:9px 19px;padding:22px}.budget-entry-icon{width:54px;height:54px;grid-row:1/3}.budget-entry-icon svg{width:30px;height:30px}.budget-entry-copy strong{font-size:21px}.budget-entry-copy>span{font-size:13px}.budget-entry-action{grid-column:2;justify-self:start;font-size:12px;padding:9px 13px;gap:14px;margin-top:6px}.budget-entry-action svg{width:16px;height:16px}}@media(max-width:420px){.parent-budget-entry .budget-entry-link{padding:20px 17px;gap:8px 13px;grid-template-columns:44px minmax(0,1fr)}.budget-entry-icon{width:44px;height:48px;border-radius:12px}.budget-entry-icon svg{width:27px;height:27px}.budget-entry-copy strong{font-size:19px}.budget-entry-copy small{font-size:10px}.budget-entry-copy>span{font-size:12px}.parent-budget-entry .budget-entry-link:before{top:24px;bottom:24px}}@media(prefers-reduced-motion:reduce){.parent-budget-entry .budget-entry-link,.budget-entry-icon,.budget-entry-action,.budget-entry-action svg,.parent-budget-entry .budget-entry-link:before{transition:none}.parent-budget-entry .budget-entry-link:hover{transform:none}}
/* Match the homepage Life in Japan entrance. */
.parent-budget-entry .budget-entry-link{min-height:120px;padding:18px 28px;grid-template-columns:55px minmax(0,1fr) auto;gap:20px;background:#e5eee7;border:1px solid #c8d9cb;border-left:4px solid #547862;border-radius:14px;box-shadow:0 4px 15px #385f4c09}.parent-budget-entry .budget-entry-link:before{width:260px;height:260px;top:-88px;bottom:auto;right:185px;left:auto;background:#d8e5d6;border-radius:50%;opacity:.7;z-index:-1;pointer-events:none}.budget-entry-icon{width:55px;height:55px;background:#fbfcf8;border:1px solid #d3dfcf;border-radius:50%;box-shadow:none;color:#67846b;transform:none}.budget-entry-icon svg{width:29px;height:29px}.budget-entry-copy{gap:4px;position:relative;z-index:1}.budget-entry-copy small{font-size:9px;letter-spacing:2px;color:#8c9a83;font-weight:400}.budget-entry-copy strong{font-size:26px;letter-spacing:.5px;color:#294b40;line-height:1.5}.budget-entry-copy>span{font-size:11px;line-height:1.9;color:#7b8d7c}.budget-entry-action{position:relative;z-index:1;min-height:43px;padding:10px 18px;border-radius:26px;background:#385f4c;border-color:#385f4c;box-shadow:0 5px 12px #385f4c19;font-size:13px;font-weight:600;gap:12px}.budget-entry-action svg{width:16px;height:16px;transform:rotate(-35deg)}.budget-entry-art{position:absolute;right:200px;bottom:0;width:280px;height:113px;opacity:.75;pointer-events:none;z-index:0}.budget-entry-copy{max-width:calc(100% - 250px)}@media(hover:hover){.parent-budget-entry .budget-entry-link:hover{border-color:#a9c2ad;border-left-color:#547862;box-shadow:0 6px 18px #385f4c10;transform:none}.parent-budget-entry .budget-entry-link:hover:before{top:-88px;bottom:auto}.budget-entry-link:hover .budget-entry-action{background:#294b3a;box-shadow:0 5px 12px #385f4c19;transform:translateY(-1px)}.budget-entry-link:hover .budget-entry-action svg{transform:rotate(-35deg) translateX(2px)}}@media(max-width:1250px){.parent-budget-entry .budget-entry-link{padding:18px 23px}.budget-entry-copy strong{font-size:23px}.budget-entry-art{width:215px;right:170px;opacity:.6}.budget-entry-copy{max-width:calc(100% - 170px)}}@media(max-width:800px){.parent-budget-entry .budget-entry-link{grid-template-columns:55px minmax(0,1fr);gap:10px 13px;min-height:176px;padding:20px}.budget-entry-icon{grid-row:1;width:55px;height:55px}.budget-entry-copy{max-width:none}.budget-entry-copy strong{font-size:21px}.budget-entry-copy>span{font-size:11px}.budget-entry-action{grid-column:2;margin-top:0;min-height:38px;padding:8px 16px;font-size:12px}.budget-entry-art{right:-25px;width:200px;height:95px;opacity:.3}.parent-budget-entry .budget-entry-link:before{right:-95px;top:8px}.parent-budget-entry .budget-entry-link:hover:before{top:8px}.budget-entry-copy small{font-size:9px}.budget-entry-icon svg{width:29px;height:29px}}@media(prefers-reduced-motion:reduce){.budget-entry-link:hover .budget-entry-action{transform:none}}
/* Match the refreshed Life in Japan page and reuse its 3D wallet artwork. */
.parent-budget-entry .budget-entry-link{min-height:148px;grid-template-columns:minmax(0,1fr) auto;padding:25px 32px;gap:20px;border:2px solid #fff;border-radius:22px;background:linear-gradient(105deg,#e4f4ed 0%,#e4f4ed 47%,#c9efea 100%);box-shadow:0 9px 24px #284c3b0b;color:#102d40}.parent-budget-entry .budget-entry-link:before{display:none}.budget-entry-art{display:none}.budget-entry-icon{position:absolute;right:220px;bottom:0;width:148px;height:148px;border:0;border-radius:16px;background:transparent url('./life-scenes.png') 100% 90%/600% 400% no-repeat;mix-blend-mode:multiply;box-shadow:none;transform:none;pointer-events:none}.budget-entry-icon svg{display:none}.budget-entry-copy{grid-column:1;max-width:calc(100% - 180px);gap:7px}.budget-entry-copy small{color:#487d74;font-size:10px;font-weight:700;letter-spacing:2px}.budget-entry-copy strong{color:#102d40;font-size:27px;font-weight:800;letter-spacing:0;line-height:1.45}.budget-entry-copy>span{color:#597b7d;font-size:13px;line-height:1.8}.budget-entry-action{grid-column:2;min-height:46px;padding:12px 22px;background:#008c83;border:0;border-radius:30px;color:white;font-size:14px;font-weight:700;box-shadow:0 4px 10px #008c8312;gap:16px}.budget-entry-action svg{transform:none;width:19px;height:19px}@media(hover:hover){.parent-budget-entry .budget-entry-link:hover{border-color:white;box-shadow:0 12px 28px #284c3b14}.budget-entry-link:hover .budget-entry-action{background:#007d75;box-shadow:0 5px 12px #008c8320}.budget-entry-link:hover .budget-entry-action svg{transform:translateX(3px)}}.parent-budget-entry .budget-entry-link:focus-visible{outline-color:#168c81}@media(max-width:1100px){.budget-entry-icon{right:200px;width:130px;height:130px}.budget-entry-copy{max-width:calc(100% - 140px)}.budget-entry-copy strong{font-size:24px}}@media(max-width:800px){.parent-budget-entry .budget-entry-link{min-height:178px;grid-template-columns:minmax(0,1fr);gap:12px;padding:22px}.budget-entry-copy{grid-column:1;max-width:calc(100% - 110px);gap:6px}.budget-entry-copy strong{font-size:22px}.budget-entry-copy>span{font-size:12px}.budget-entry-icon{right:15px;bottom:15px;width:116px;height:116px}.budget-entry-action{grid-column:1;justify-self:start;min-height:38px;padding:9px 17px;font-size:12px;gap:16px}.budget-entry-action svg{width:16px;height:16px}}@media(max-width:420px){.parent-budget-entry .budget-entry-link{padding:20px;min-height:188px}.budget-entry-copy{max-width:calc(100% - 85px)}.budget-entry-copy strong{font-size:20px}.budget-entry-copy small{font-size:9px}.budget-entry-icon{right:8px;bottom:26px;width:100px;height:100px}.budget-entry-copy>span{font-size:11px}}@media(prefers-reduced-motion:reduce){.budget-entry-link:hover .budget-entry-action svg{transform:none}}
.parent-budget-entry .budget-motion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  justify-items: start;
  column-gap: 0;
  align-items: center;
  min-height: 155px;
  padding: 23px 34px;
  background: #d2efe5;
}
.budget-motion .budget-entry-copy {
  grid-column: 1;
  width: 100%;
  max-width: none;
  z-index: 1;
}
.budget-motion-scene {
  position: absolute;
  inset: 0 0 0 40%;
  mask-image: linear-gradient(90deg, transparent, black 16%);
  pointer-events: none;
}
 .budget-motion-scene { width: 60%; height: 100%; }
.budget-train { transform: translate(24px, 8px); }
.budget-window-glow { opacity: .13; }
.budget-window-glow path { filter: drop-shadow(0 0 5px #ffb84d); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .budget-train { transition: transform 1.8s cubic-bezier(.18,.62,.35,1); }
  .budget-clouds { transition: transform 2.5s ease-out; }
  .budget-window-glow { transition: opacity .55s ease; }
  .budget-motion:is(:hover,:focus-visible) .budget-train { transform: translate(164px,-15px); }
  .budget-motion:is(:hover,:focus-visible) .budget-clouds { transform: translateX(35px); }
  .budget-motion:is(:hover,:focus-visible) .budget-window-glow { opacity: .85; transition-delay: .55s; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .budget-train { transform: translate(164px,-15px); }
  .budget-window-glow { opacity: .85; }
}
@media (max-width: 700px) {
  .parent-budget-entry .budget-motion { min-height: 142px; padding: 17px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .budget-motion-scene { left: 64%; width: 36%; mask-image: linear-gradient(90deg, transparent, black 45%); }
}

.budget-shop-shade { opacity: .38; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .budget-shop-shade { transition: opacity .65s ease; }
  .budget-motion:is(:hover,:focus-visible) .budget-shop-shade { opacity: 0; }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .budget-shop-shade { opacity: 0; }
}
.home-feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  margin: 0 0 24px;
}
.home-feature-pair > .parent-start {
  display: grid;
  min-width: 0;
  margin: 0;
}
.home-feature-pair .parent-cards { min-width: 0; }
.home-feature-pair .budget-motion,
.home-feature-pair > .hu-plan {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  --pair-padding: clamp(16px, 1.8vw, 24px);
  min-height: 220px;
  padding: var(--pair-padding);
  border: 1px solid transparent;
  border-radius: 16px;
}
.home-feature-pair .budget-motion {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 0;
  border-color: #c6e3da;
}
.home-feature-pair > .hu-plan { border-color: #dce6ed; }
.home-feature-pair .budget-entry-copy { max-width: none; }
.home-feature-pair .budget-entry-copy small,
.home-feature-pair .hu-plan .eyebrow {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 700;
}
.home-feature-pair .budget-entry-copy strong,
.home-feature-pair .hu-plan h3 {
  margin: 0;
  color: #15364d;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.32;
  font-weight: 800;
}
.home-feature-pair .budget-entry-copy > span,
.home-feature-pair .hu-plan h3 + p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.8;
}
.home-feature-pair .hu-plan .primary-button { margin-top: 13px; }
.home-feature-pair .budget-motion-scene {
  order: 1;
  position: static;
  width: calc(100% + 2 * var(--pair-padding));
  margin: 0 calc(-1 * var(--pair-padding));
  height: auto;
  aspect-ratio: 1365 / 216;
  mask-image: linear-gradient(180deg, transparent, black 24%);
}
.hu-lower { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 700px) {
  .home-feature-pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-feature-pair .budget-motion,
  .home-feature-pair > .hu-plan { min-height: 196px; }
}
.home-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
}
.home-plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 15px;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.home-plan-undergrad { background: #ad3b32; }
.home-plan-masters { background: #355981; }
.home-plan-button:focus-visible {
  outline: 2px solid #214865;
  outline-offset: 3px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-plan-button {
    transition: transform .2s ease-out, box-shadow .2s ease-out;
  }
  .home-plan-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px #18374c30;
  }
}

@media (min-width: 1050px) {
  .home-feature-pair .hu-plan h3 br { display: none; }
}
.home-feature-pair > .home-plan-illustrated {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: 5px;
  padding-right: 0;
  overflow: hidden;
}
.home-plan-copy { position: relative; z-index: 1; }
.home-feature-pair .home-plan-copy h3 + p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.65;
}
.home-plan-art {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 920 / 776;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, black 12%);
}
@media (min-width: 701px) and (max-width: 1080px) {
  .home-feature-pair > .home-plan-illustrated { grid-template-columns: minmax(0, 1fr) minmax(0, .58fr); }
}
@media (max-width: 460px) {
  .home-feature-pair > .home-plan-illustrated { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); }
}
@media (min-width: 1050px) {
  .home-feature-pair > .home-plan-illustrated {
    display: block;
    padding-right: 46%;
  }
  .home-plan-illustrated .home-plan-art {
    position: absolute;
    inset: 0 0 0 auto;
    width: 46%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 460px) {
  .home-plan-illustrated .home-plan-actions { gap: 6px; }
  .home-plan-illustrated .home-plan-button { padding-inline: 8px; font-size: 12px; gap: 5px; }
}
.home-feature-pair .budget-motion {
  justify-content: center;
  padding-bottom: var(--pair-padding);
  background: #cdeee5;
}
.home-feature-pair .budget-motion .budget-entry-copy {
  width: 45%;
  z-index: 1;
}
.home-feature-pair .budget-motion .budget-city-scene {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  mask-image: none;
}
.budget-city-scene .budget-train { transform: translate(12px, 3px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .budget-motion:is(:hover,:focus-visible) .budget-city-scene .budget-train {
    transform: translate(-62px, -17px);
  }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .budget-city-scene .budget-train { transform: translate(0, 0); }
}
@media (max-width: 950px) {
  .home-feature-pair .budget-motion .budget-entry-copy { width: 39%; }
  .home-feature-pair .budget-motion .budget-city-scene { width: 56%; }
}
.home-feature-pair .budget-motion .budget-entry-copy { width: 39%; }
.home-feature-pair .budget-motion .budget-entry-copy strong { text-wrap: balance; }
.home-plan-story {
  display: grid;
  overflow: hidden;
}
.home-plan-story > img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.home-plan-reveal { opacity: 0; }
.home-plan-illustrated:focus-within .home-plan-reveal { opacity: 1; }
@media (hover: hover) {
  .home-plan-illustrated:hover .home-plan-reveal { opacity: 1; }
}
@media (hover: none) {
  .home-plan-reveal { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-plan-reveal { transition: opacity .36s ease-in-out; }
}
