/* Shared design system layer. Loaded after page styles on every route. */
@font-face {
  font-family: "Noto Sans JP Critical";
  src: url("/assets/fonts/noto-sans-jp-critical.woff2?v=20260805release13") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

@font-face {
  font-family: "Klee One Hero";
  src: url("/assets/fonts/klee-one-hero-regular.woff2?v=20260805release13") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: block;
}

@font-face {
  font-family: "Klee One Hero";
  src: url("/assets/fonts/klee-one-hero-semibold.woff2?v=20260805release13") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: block;
}

:root {
  --site-navy: #264b67;
  --site-navy-strong: #18384f;
  --site-text: #364756;
  --site-muted: #71808d;
  --site-yellow: #f6cc67;
  --site-yellow-strong: #d8a83c;
  --site-yellow-soft: #fff3cf;
  --site-canvas: #fffdfa;
  --site-canvas-warm: #fffdf8;
  --site-surface: #ffffff;
  --site-surface-muted: #f2f7f5;
  --site-powder: #eef5f4;
  --site-butter: #fff2c8;
  --site-dark: #233247;
  --site-line: #dfe7e5;
  --site-line-strong: rgba(35, 50, 71, 0.22);
  --site-radius-control: 6px;
  --site-radius-panel: 8px;
  --site-shadow-header: 0 8px 24px rgba(35, 50, 71, 0.045);
  --site-shadow-panel: 0 14px 34px rgba(35, 50, 71, 0.055);
  --site-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
  --site-font-latin: "Noto Sans JP", sans-serif;
  --site-font-critical: "Noto Sans JP Critical", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
  --site-font-hero: "Klee One Hero", "Klee One", "Noto Sans JP Critical", "Noto Sans JP", sans-serif;
}

/* Shared editorial primitives. TOP owns the visual language; lower routes reuse it. */
.story-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(24, 52, 77, 0.13);
  border-radius: 0 32px 0 32px;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(24, 52, 77, 0.08);
}

.story-feature-strip > .story-feature-item {
  min-width: 0;
  border-right: 1px solid #d8d8cd;
}

.story-feature-strip > .story-feature-item:last-child {
  border-right: 0;
}

.story-feature-mark {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(216, 167, 19, 0.5);
  border-radius: 50%;
  background: #fff7d9;
  color: #8a6507;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.story-section-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 4px 8px;
  border-bottom: 1px solid #18344d;
  color: #18344d;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.story-section-link::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.25s ease;
}

.story-section-link:hover::after,
.story-section-link:focus-visible::after {
  transform: translateX(5px);
}

/* Keep the softer face inside the TOP hero; all other page titles use the portal face. */
main .story-narrative-title {
  font-family: var(--site-font);
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .story-feature-strip {
    grid-template-columns: 1fr;
    border-radius: 0 24px 0 24px;
  }

  .story-feature-strip > .story-feature-item {
    border-right: 0;
    border-bottom: 1px solid #d8d8cd;
  }

  .story-feature-strip > .story-feature-item:last-child {
    border-bottom: 0;
  }
}

html {
  scroll-padding-top: 88px;
}

body {
  color: var(--site-text);
  background: var(--site-canvas);
  font-family: var(--site-font);
  letter-spacing: 0;
}

.page-shell,
.site-shell {
  min-height: 100vh;
}

.page-shell {
  --content: min(1280px, calc(100vw - 48px));
  background:
    linear-gradient(180deg, var(--site-powder) 0, #f8fbfa 240px, var(--site-canvas) 520px);
}

.listing-page .page-shell {
  --content: min(1560px, calc(100vw - 40px));
}

.detail-page .page-shell {
  --content: min(1240px, calc(100vw - 48px));
}

main :where(h1, h2, h3, h4),
.portal-mobile-menu-title {
  font-family: var(--site-font);
  letter-spacing: 0;
}

.hero-copy h1,
.hero-script {
  font-family: "Klee One", "Yomogi", cursive;
}

.about-script-line,
.about-hero-copy > .about-script-line {
  font-family: var(--site-font);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
}

a,
.text-link,
.company-directory-table a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  min-height: 84px;
  padding: 10px clamp(18px, 2.4vw, 36px);
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  border: 0;
  border-bottom: 1px solid var(--site-line);
  background: rgba(255, 253, 250, 0.94);
  box-shadow: var(--site-shadow-header);
  backdrop-filter: blur(12px);
}

.site-header .brand--wordmark,
.site-header .brand {
  position: relative;
  width: min(100%, 310px);
  min-width: 0;
  min-height: 60px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand-sample-note {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 42, 53, 0.78);
  background: rgba(245, 247, 249, 0.72);
  color: #394957;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  pointer-events: none;
}

.site-header .brand--wordmark::before,
.site-header .brand--wordmark::after {
  content: none !important;
  display: none !important;
}

.site-header .brand--wordmark .brand-logo-img,
.site-header .brand-logo-img {
  width: min(100%, 290px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
  opacity: 1 !important;
}

.global-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(12px, 1.65vw, 28px);
}

.global-nav a {
  position: relative;
  min-height: 44px;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
  color: var(--site-navy-strong);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.global-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: transparent;
}

.global-nav a:hover::after,
.global-nav a.is-current::after,
.global-nav a[aria-current="page"]::after {
  background: var(--site-yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-header .favorite-link,
.site-header .header-cta {
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .favorite-link {
  min-width: 112px;
  padding: 0 14px;
  border: 1px solid var(--site-line);
  background: #fff;
}

.site-header .favorite-link.is-current {
  border-color: rgba(226, 165, 31, 0.5);
  background: var(--site-yellow-soft);
}

.site-header .header-cta {
  min-width: 112px;
  padding: 0 18px;
  border: 1px solid rgba(226, 165, 31, 0.58);
  background: var(--site-yellow);
  color: var(--site-navy-strong);
  box-shadow: none;
}

.site-header .header-cta.is-current {
  box-shadow: inset 0 -3px 0 rgba(137, 92, 0, 0.18);
}

.portal-menu-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--site-radius-control);
  border-color: var(--site-line-strong);
  background: #fff;
  color: var(--site-navy-strong);
  box-shadow: none;
}

.portal-mobile-menu-close {
  min-width: 44px;
  min-height: 44px;
}

.page-heading {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--site-line);
  background:
    linear-gradient(108deg, rgba(238, 245, 244, 0.92), rgba(255, 253, 250, 0.9) 72%);
}

.page-heading h1 {
  margin: 0;
  color: var(--site-navy-strong);
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.22;
}

.page-heading p {
  max-width: 56em;
  margin: 12px 0 0;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

:where(.btn, .ghost-btn, .header-cta, .company-directory-link-btn, .list-card-primary, .map-popup-detail-link) {
  border-radius: var(--site-radius-control);
}

:where(.section-card, .info-card, .detail-block, .detail-summary-block, .list-card, .contact-card, .contact-form-card) {
  border-radius: var(--site-radius-panel);
}

.listing-results-count {
  min-width: 190px;
  padding: 12px 16px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.88);
}

.listing-results-count-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.listing-results-count .listing-results-total-context {
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 700;
}

.listing-results-count .listing-results-reset {
  width: fit-content;
  min-height: 34px;
  margin-top: 5px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(18, 54, 87, 0.38);
  border-radius: 0;
  background: transparent;
  color: var(--site-navy-strong);
  font: 700 12px/1 var(--site-font);
  cursor: pointer;
}

.listing-results-count .listing-results-reset:hover {
  border-color: var(--site-yellow-strong);
}

.company-directory-table-wrap {
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-panel);
  background: #fff;
  box-shadow: none;
}

.company-directory-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.company-directory-table thead th {
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--site-line-strong);
  background: #f3f6f8;
  color: #536479;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.company-directory-table tbody td {
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--site-line);
  vertical-align: middle;
}

.company-directory-table tbody tr:last-child td {
  border-bottom: 0;
}

.company-directory-table tbody tr:hover {
  background: #f8fafb;
}

.company-directory-table tbody tr.has-job {
  background: #fff;
}

.company-directory-table tbody tr.has-job:hover {
  background: #f8fafb;
}

.city-filter-popover {
  width: min(500px, calc(100vw - 36px));
}

.city-filter-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.traffic-area-option {
  min-height: 62px;
  padding: 9px 12px;
  align-items: flex-start;
}

.traffic-area-option:first-child {
  grid-column: 1 / -1;
  min-height: 42px;
  align-items: center;
}

.traffic-area-option > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.traffic-area-option strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.traffic-area-option small {
  color: var(--site-muted);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
}

.city-filter-trigger-meta {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 981px) {
  .listing-page #job-list .list-card-actions,
  .favorites-page #favorite-company-list .list-card-actions {
    align-self: start;
    justify-content: flex-start;
  }
}

.company-directory-table th:first-child,
.company-directory-table td:first-child {
  width: 118px;
}

.company-directory-table th:nth-child(2),
.company-directory-table td:nth-child(2) {
  width: 25%;
}

.company-directory-table th:nth-child(3),
.company-directory-table td:nth-child(3) {
  width: auto;
}

.company-directory-table th:nth-child(4),
.company-directory-table td:nth-child(4),
.company-directory-table th:nth-child(5),
.company-directory-table td:nth-child(5) {
  width: 142px;
  text-align: center;
}

.company-directory-logo {
  width: 88px;
  height: 52px;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-line);
  border-radius: 5px;
  background: #fff;
}

.company-directory-name {
  color: var(--site-navy-strong);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.company-directory-address {
  color: #536479;
  font-size: 13px;
  line-height: 1.65;
}

.company-directory-link-btn {
  min-width: 104px;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-line-strong);
  background: #fff;
  color: var(--site-navy-strong);
  font-size: 12px;
  font-weight: 700;
}

.company-directory-link-btn--official {
  white-space: nowrap;
}

.company-directory-map-link {
  width: fit-content;
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #315f8d;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.company-directory-link-btn--official::after {
  content: "↗";
  margin-left: 5px;
  font-size: 11px;
}

.company-directory-link-btn--job {
  border-color: rgba(226, 165, 31, 0.58);
  background: var(--site-yellow);
}

.company-directory-empty {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8a96a3;
  font-size: 12px;
  font-weight: 500;
}

.detail-anchor-nav {
  border-radius: var(--site-radius-panel);
}

.guide-top .quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.guide-top .quick-filters .chip {
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 2px solid var(--site-line-strong);
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
  color: var(--site-navy-strong);
  font-size: 13px;
  font-weight: 700;
}

.guide-top .quick-filters .chip:hover {
  border-bottom-color: var(--site-yellow-strong);
  background: transparent;
}

.page-shell .site-footer,
.site-shell .site-footer {
  position: relative;
  margin-top: 64px;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--site-line);
  background: var(--site-surface-muted);
  color: var(--site-text);
  box-shadow: none;
}

.page-shell .site-footer::before,
.site-shell .site-footer::before {
  content: none;
  display: none;
}

.site-footer .footer-main {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 38px 0 30px;
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) minmax(180px, 0.65fr) minmax(180px, 0.65fr);
  gap: clamp(40px, 5vw, 72px);
}

.site-footer .brand--footer.brand--wordmark,
.site-footer .brand--footer {
  position: relative;
  width: min(100%, 330px);
  min-height: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-footer .brand--footer .brand-logo-img {
  width: min(100%, 310px);
  height: auto;
  filter: none !important;
  opacity: 1 !important;
}

.site-footer address {
  margin: 0;
  color: #58697c;
  font-size: 13px;
  font-style: normal;
  line-height: 1.75;
}

.site-footer .footer-map-link,
.site-footer .footer-phone {
  width: fit-content;
  margin-top: 10px;
  display: flex;
  align-items: center;
  color: var(--site-navy-strong);
  font-size: 13px;
  font-weight: 700;
}

.site-footer .footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .footer-main h3 {
  margin: 0 0 12px;
  color: #7b5a13;
  font-size: 13px;
  font-weight: 800;
}

.site-footer .footer-main nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: #4e6074;
  font-size: 13px;
  font-weight: 600;
}

.site-footer .footer-main nav a:hover {
  color: var(--site-navy-strong);
}

.site-footer .footer-bottom {
  min-height: 58px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--site-line);
  color: #718093;
  font-size: 11px;
}

.site-footer .footer-bottom a {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 165, 31, 0.48);
  border-radius: 50%;
  background: var(--site-yellow);
}

.site-footer .footer-bottom a::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 14px;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--site-navy-strong);
  border-left: 2px solid var(--site-navy-strong);
  transform: rotate(45deg);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) auto;
    gap: 16px;
  }

  .global-nav {
    gap: 12px;
  }

  .global-nav a {
    font-size: 12px;
  }

  .site-header .favorite-link {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .site-header .favorite-label {
    display: none;
  }

  .site-header[data-shared-component="site-header"] .header-actions > .favorite-link {
    position: relative;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  .site-header[data-shared-component="site-header"] .favorite-link > .favorite-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    min-height: 18px;
    padding-inline: 5px;
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  :root {
    --site-mobile-pad: 18px;
  }

  html {
    scroll-padding-top: 70px;
  }

  .page-shell,
  .listing-page .page-shell,
  .detail-page .page-shell {
    --content: min(100% - 36px, 720px);
  }

  .site-header {
    min-height: 68px;
    padding: 7px var(--site-mobile-pad);
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .site-header .brand--wordmark,
  .site-header .brand {
    width: min(250px, calc(100vw - 92px));
    min-height: 52px;
    flex: 1 1 auto;
  }

  .site-header .brand--wordmark .brand-logo-img,
  .site-header .brand-logo-img {
    width: min(100%, 230px);
    max-height: 50px;
  }

  .site-header .global-nav,
  .site-header .favorite-link,
  .site-header .header-cta {
    display: none;
  }

  .site-header .header-actions {
    margin-left: auto;
  }

  .page-heading {
    padding: 30px 0 26px;
  }

  .page-heading h1 {
    font-size: clamp(29px, 7.8vw, 38px);
    line-height: 1.28;
  }

  .page-heading p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
  }

  .page-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .listing-results-count {
    min-width: 0;
  }

  .detail-anchor-nav {
    display: flex !important;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .detail-anchor-nav a {
    min-height: 44px;
    flex: 0 0 auto;
  }

  .map-filter-chip,
  .city-filter-trigger,
  .filter-check-all,
  .map-filter-check-all,
  .detail-gallery-arrow,
  .detail-nearby-arrow,
  .hero-results-nav button,
  .home-jobs-nav,
  .company-card-detail-link {
    min-height: 44px !important;
  }

  .detail-gallery-arrow,
  .detail-nearby-arrow,
  .hero-results-nav button,
  .home-jobs-nav {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  .listing-live-map.is-map-unavailable,
  .listing-live-map.is-map-unavailable .map-panel,
  .listing-live-map.is-map-unavailable #live-map-canvas {
    min-height: 200px !important;
    height: 200px !important;
  }

  .listing-live-map.is-map-unavailable .map-filter-overlay,
  .listing-live-map.is-map-unavailable .meta-side,
  .listing-live-map.is-map-unavailable .map-status-badge {
    display: none !important;
  }

  .company-directory-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }

  .company-directory-table {
    width: 780px !important;
    min-width: 780px !important;
  }

  .company-directory-table th:first-child,
  .company-directory-table td:first-child {
    width: 96px !important;
  }

  .company-directory-table th:nth-child(2),
  .company-directory-table td:nth-child(2) {
    width: 190px !important;
  }

  .company-directory-table th:nth-child(3),
  .company-directory-table td:nth-child(3) {
    width: 230px !important;
  }

  .company-directory-table th:nth-child(4),
  .company-directory-table td:nth-child(4),
  .company-directory-table th:nth-child(5),
  .company-directory-table td:nth-child(5) {
    width: 132px !important;
  }

  .company-directory-table th,
  .company-directory-table td {
    padding: 12px !important;
  }

  .company-directory-link-btn {
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
  }

  .portal-mobile-menu-links a,
  .portal-mobile-menu-actions a,
  .site-footer .footer-main nav a,
  .site-footer .footer-map-link,
  .site-footer .footer-phone {
    min-height: 44px;
  }

  .site-footer {
    margin-top: 44px;
  }

  .site-footer .footer-main {
    width: min(100% - 36px, 720px);
    padding: 30px 0 22px;
    grid-template-columns: 1fr 1fr;
    gap: 26px 28px;
  }

  .site-footer .footer-association {
    grid-column: 1 / -1;
  }

  .site-footer .footer-bottom {
    min-height: 68px;
    padding: 10px 18px;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  :root {
    --site-mobile-pad: 14px;
  }

  .page-shell,
  .listing-page .page-shell,
  .detail-page .page-shell {
    --content: calc(100vw - 28px);
  }

  .site-header .brand--wordmark,
  .site-header .brand {
    width: min(218px, calc(100vw - 78px));
  }

  .site-header .brand--wordmark .brand-logo-img,
  .site-header .brand-logo-img {
    width: min(100%, 208px);
  }

  .listing-results-head {
    align-items: stretch;
  }

  .listing-results-count {
    width: 100%;
    padding: 10px 12px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1px 12px;
  }

  .listing-results-count-value {
    grid-row: 1 / 3;
  }

  .listing-results-count > span {
    grid-column: 2;
  }

  .listing-results-count .listing-results-reset {
    grid-column: 2;
    min-height: 36px;
    margin-top: 0;
  }

  .city-filter-popover {
    width: min(360px, calc(100vw - 28px));
    padding: 12px;
  }

  .city-filter-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .traffic-area-option,
  .traffic-area-option:first-child {
    min-height: 42px;
    padding: 7px 9px;
    grid-column: auto;
    align-items: center;
  }

  .traffic-area-option small {
    display: none;
  }

  .traffic-area-option strong {
    font-size: 11px;
  }

  .city-filter-trigger-meta {
    max-width: 112px;
  }

  .listing-page #job-list .list-card-head .compact-title {
    font-size: 16px !important;
    line-height: 1.34 !important;
    line-break: strict;
    word-break: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .listing-page #job-list .list-card-main {
    padding: 18px !important;
    gap: 15px 16px !important;
  }

  .listing-page #job-list .list-card-logo-badge {
    display: none !important;
  }

  .listing-page #job-list .list-card-head {
    gap: 7px !important;
  }

  .listing-page #job-list .list-card-detail-grid {
    gap: 12px 14px !important;
  }

  .listing-page #job-list .list-card-actions {
    margin-top: 3px !important;
  }

  .listing-page #job-list .list-card-actions {
    grid-template-columns: minmax(0, 238px) 48px !important;
  }

  .listing-page #job-list .list-card-actions .list-card-primary {
    order: 1 !important;
  }

  .listing-page #job-list .list-card-actions .favorite-toggle {
    order: 2 !important;
  }

  .site-footer .footer-main {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer .footer-association {
    grid-column: auto;
  }

  .site-footer .footer-bottom {
    align-items: flex-end;
  }

  .site-footer .footer-bottom span {
    max-width: 230px;
    line-height: 1.6;
  }

  .home-jobs-carousel-frame {
    padding-right: 22px;
  }

  .home-jobs-nav {
    display: inline-grid !important;
    place-items: center;
    line-height: 1;
  }

  .guide-top .quick-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .guide-top .quick-filters .chip {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .listing-page #job-list .list-card-head .compact-title {
    font-size: 15px !important;
  }
}

body:has(.about-hero),
body:has(.about-hero) .page-shell {
  background: #fff;
}

.about-hero {
  background:
    linear-gradient(135deg, rgba(255, 246, 217, 0.94) 0%, rgba(255, 255, 255, 0.94) 58%, rgba(255, 250, 240, 0.98) 100%);
}

.guide-workstyle-row--alternate {
  --guide-tone: #f7c948;
  --guide-tone-ink: #654600;
}

.guide-workstyle-row--alternate .guide-workstyle-badge {
  color: #5f4300;
}

.guide-workstyle-row--alternate .guide-timeline-segment {
  background: linear-gradient(90deg, #f7c948 0%, #f7c948 58%, #123b63 58%, #123b63 100%);
}

.detail-point-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-page .detail-hero-head {
  align-items: center !important;
}

.detail-page .detail-hero-logo {
  grid-row: 1 !important;
  grid-column: 1;
  align-self: center;
}

.detail-page .detail-hero-copy {
  display: contents;
}

.detail-page .detail-company-name {
  margin: 0;
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  line-height: 1.5;
}

.detail-page #detail-job-title {
  grid-row: 2;
  grid-column: 1 / -1;
  margin-top: 0;
}

.detail-point-cta,
.detail-page .detail-entry-block {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.detail-page .detail-entry-block {
  min-height: 96px;
  padding: 24px !important;
}

.detail-point-cta .detail-entry-primary,
.detail-page .detail-entry-block .detail-entry-primary {
  width: min(100%, 280px) !important;
  min-height: 52px;
}

.detail-page .detail-spec-item dd {
  display: grid;
  gap: 6px;
  align-content: center;
}

.detail-company-profile {
  margin-top: 22px;
  padding: 0 0 24px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--site-line);
}

.detail-company-profile-logo {
  height: 82px;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-panel);
  background: #fff;
}

.detail-company-profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-company-profile strong {
  color: var(--site-navy-strong);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
}

.detail-page .detail-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}

.detail-page .detail-company-grid dl {
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--site-line);
}

.detail-nearby-all-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--site-navy-strong);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.detail-nearby-all-link::after {
  content: "›";
  margin-left: 7px;
  color: #a36f00;
  font-size: 18px;
}

[data-application-only][hidden],
[data-association-only][hidden],
.contact-field[hidden] {
  display: none !important;
}

.contact-required,
.contact-optional {
  min-width: 34px;
  min-height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1;
  order: -1;
  flex: 0 0 34px;
  justify-self: start;
}

.contact-required {
  background: #fff0c3;
  color: #7a5500;
}

.contact-optional {
  background: #eef2f5;
  color: #607080;
}

body:has([data-contact-form]) .contact-consent a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body:has([data-contact-form]) .contact-submit-row .btn {
  width: min(100%, 320px);
  justify-self: end;
}

.form-complete-main {
  min-height: min(68vh, 680px);
  padding: 88px 24px;
  display: grid;
  place-items: center;
  background: var(--site-canvas);
}

.form-complete-panel {
  width: min(100%, 720px);
  text-align: center;
}

.form-complete-mark {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  display: block;
  border: 1px solid rgba(211, 151, 0, 0.36);
  border-radius: 50%;
  background: #fff6d6;
}

.form-complete-mark::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 24px;
  height: 13px;
  border-bottom: 3px solid var(--site-navy-strong);
  border-left: 3px solid var(--site-navy-strong);
  transform: rotate(-45deg);
}

.form-complete-kicker {
  margin: 0 0 10px;
  color: #9b6a00;
  font-size: 12px;
  font-weight: 800;
}

.form-complete-panel h1 {
  margin: 0;
  color: var(--site-navy-strong);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.45;
}

.form-complete-panel > p:not(.form-complete-kicker) {
  margin: 20px auto 30px;
  color: var(--site-muted);
  line-height: 1.9;
}

.form-complete-panel .btn {
  width: min(100%, 280px);
  min-height: 52px;
  justify-content: center;
}

/* Lower-page component polish: keep yellow for actions, not for whole surfaces. */
.page-shell {
  --site-line: #e2e7eb;
  --site-line-strong: #c9d2d9;
}

.page-shell .page-heading {
  padding-top: 54px;
  padding-bottom: 46px;
}

.page-shell .page-heading h1::after {
  content: none;
  display: none;
}

.page-shell .page-heading p {
  font-weight: 400;
}

.page-shell :where(
  .company-directory-table-wrap,
  .list-card,
  .news-archive-card,
  .news-detail-card,
  .contact-card,
  .contact-form-card,
  .contact-job-accordion,
  .legal-card,
  .detail-hero-side,
  .detail-point-card,
  .detail-block,
  .detail-map-search-shell
) {
  box-shadow: none !important;
}

.page-shell :where(
  .btn-accent,
  .company-directory-link-btn--job,
  .detail-entry-primary,
  .map-popup-detail-link
),
.page-shell #job-list .list-card-actions .list-card-primary {
  border-color: #e0ae25 !important;
  background: var(--site-yellow) !important;
  background-image: none !important;
  color: var(--site-navy-strong) !important;
  box-shadow: none !important;
  font-weight: 800;
}

@media (hover: hover) {
  .page-shell :where(
    .btn-accent,
    .company-directory-link-btn--job,
    .detail-entry-primary,
    .map-popup-detail-link
  ):hover,
  .page-shell #job-list .list-card-actions .list-card-primary:hover {
    border-color: #cf9915 !important;
    background: #f5bc25 !important;
  }
}

.page-shell :where(
  .ghost-btn,
  .favorite-toggle,
  .company-directory-link-btn--official,
  .detail-entry-secondary
) {
  border-color: var(--site-line-strong);
  background: #fff;
  box-shadow: none !important;
}

.page-shell #job-list .list-card {
  border-color: var(--site-line);
  box-shadow: none !important;
}

.page-shell #job-list .list-card-logo-badge {
  border-color: var(--site-line);
  box-shadow: none;
}

.page-shell #job-list .list-card-head .compact-title {
  font-weight: 800;
}

.page-shell #job-list .list-card-strength,
.page-shell #job-list .list-card-section-label {
  font-weight: 700;
}

.page-shell #job-list .list-card-address-full {
  font-weight: 500;
}

.page-shell #job-list :where(
  .list-role-chip,
  .company-tag-chip,
  .list-chip-group .company-tag-chip
),
.page-shell :where(.map-popup-tag, .news-label) {
  border-radius: 4px !important;
  font-weight: 700 !important;
}

.page-shell #job-list :where(
  .list-role-chip,
  .company-tag-chip,
  .list-chip-group .company-tag-chip
):not(.is-inactive) {
  border-color: rgba(210, 151, 22, 0.42);
  background: var(--site-yellow-soft);
}

.page-shell #job-list :where(
  .list-role-chip.is-inactive,
  .company-tag-chip.is-inactive,
  .list-chip-group .company-tag-chip.is-inactive
) {
  border-color: #dfe5ea;
  background: #f4f6f8;
  color: #778492;
}

.page-shell #job-list .list-card-actions :where(.favorite-toggle, .list-card-primary) {
  border-radius: var(--site-radius-control);
  font-weight: 700;
}

.page-shell .news-archive-card {
  border-color: var(--site-line);
  border-radius: var(--site-radius-control);
}

.page-shell .news-archive-row {
  min-height: 74px;
  padding: 16px 20px;
  border-bottom-color: var(--site-line);
}

.page-shell .news-archive-row:hover {
  background: #f8fafb;
}

.page-shell .news-archive-row time {
  font-weight: 600;
}

.page-shell .news-archive-row strong,
.page-shell .news-archive-row em {
  font-weight: 700;
}

.page-shell .news-label {
  min-height: 24px;
  padding-inline: 8px;
}

.page-shell .news-detail-card,
.page-shell .legal-card,
.page-shell :where(.contact-card, .contact-form-card, .contact-job-accordion) {
  border-color: var(--site-line);
  border-radius: var(--site-radius-control);
}

.page-shell .detail-summary-block {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-shell .detail-entry-block {
  border-color: var(--site-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.page-shell .detail-map-search-block {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-shell .detail-point-card,
.page-shell .detail-map-search-shell {
  border-color: var(--site-line);
}

.detail-page .page-shell .detail-point-card strong,
.detail-page .page-shell .detail-spec-item dt {
  font-weight: 700;
}

body:has([data-contact-form]) .page-shell .contact-consent {
  border-color: var(--site-line);
  background: #fffaf0;
}

body:has([data-contact-form]) .page-shell :where(
  .contact-field input,
  .contact-field select,
  .contact-field textarea
) {
  border-color: #ccd5dc;
  border-radius: var(--site-radius-control);
  font-weight: 400;
}

body:has([data-contact-form]) .page-shell :where(
  .contact-field input,
  .contact-field select,
  .contact-field textarea
):focus {
  border-color: var(--site-navy);
  box-shadow: 0 0 0 3px rgba(16, 54, 95, 0.1);
  outline: 0;
}

@media (max-width: 760px) {
  .page-shell .page-heading h1::after {
    width: 38px;
    margin-top: 12px;
  }

  .page-shell .news-archive-row {
    padding: 15px 16px;
  }
}

@media (max-width: 760px) {
  .detail-point-grid {
    grid-template-columns: 1fr;
  }

  .detail-page #detail-job-title {
    font-size: clamp(21px, 6.6vw, 28px) !important;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .detail-page .detail-hero-logo {
    grid-row: 1 !important;
    grid-column: 1;
  }

  .detail-page .detail-company-name {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
  }

  .detail-page #detail-job-title {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .detail-point-cta .detail-entry-primary,
  .detail-page .detail-entry-block .detail-entry-primary {
    width: calc(100% - 24px) !important;
  }

  .detail-company-profile {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .detail-company-profile-logo {
    height: 68px;
    padding: 9px;
  }

  .detail-page .detail-company-grid {
    grid-template-columns: 1fr;
  }

  .detail-nearby-all-link {
    width: fit-content;
    white-space: normal;
  }

  body:has([data-contact-form]) .contact-submit-row .btn {
    width: calc(100% - 24px);
    justify-self: center;
  }

  .form-complete-main {
    padding: 64px 18px 76px;
  }

  .form-complete-panel .btn {
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Readability baseline for the portal's older driver audience. */
:root {
  --site-readable-copy-size: clamp(16px, calc(15px + 0.18vw), 17px);
  --site-readable-label-size: 15px;
  --site-readable-control-size: 16px;
}

body.home-story-page main p:not(.movie-eyebrow),
body.lower-story-page main :where(p, li) {
  font-size: var(--site-readable-copy-size) !important;
  line-height: 1.85 !important;
}

body.home-story-page main :where(
  .hero-search label > span,
  .pickup-meta dt,
  .news-row time,
  .news-row .news-label
),
body.lower-story-page main :where(
  .list-card-section-label,
  .detail-hero-fact strong,
  .detail-information-group .detail-spec-item dt,
  .detail-company-grid dt,
  .contact-field label,
  .company-directory-table thead th,
  .guide-employment-label,
  .guide-workstyle-points-label
) {
  font-size: var(--site-readable-label-size) !important;
  line-height: 1.65 !important;
}

body.home-story-page main :where(
  .hero-search select,
  .hero-area-combobox-copy,
  .hero-search button,
  .area-list a,
  .pickup-meta dd,
  .guide-links a,
  .news-row strong,
  .green-button,
  .pickup-cta
),
body.lower-story-page main :where(
  .detail-hero-fact b,
  .detail-information-group .detail-spec-item dd,
  .detail-company-grid dd,
  .contact-field input,
  .contact-field select,
  .contact-field textarea,
  .company-directory-name,
  .company-directory-address
) {
  font-size: var(--site-readable-control-size) !important;
  line-height: 1.75 !important;
}

body.home-story-page main .hero-search-area-note {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

body.home-story-page main :where(
  .hero-area-combobox-copy small,
  .hero-area-option small,
  .pickup-role
) {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body.lower-story-page main :where(
  .company-card-area,
  .list-card-area,
  .company-card-hint,
  .list-card-link-hint,
  .company-directory-map-link,
  .company-directory-empty
) {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body.lower-story-page main :where(.list-chip-group .company-tag-chip, .guide-top .quick-filters .chip) {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.lower-story-page.detail-page main .detail-information-group .detail-spec-item dt,
body.lower-story-page.detail-page main #detail-condition-grid .detail-spec-item dt {
  font-size: var(--site-readable-label-size) !important;
  line-height: 1.65 !important;
}

body.lower-story-page.detail-page main .detail-information-group .detail-spec-item dd,
body.lower-story-page.detail-page main #detail-condition-grid .detail-spec-item dd {
  font-size: var(--site-readable-control-size) !important;
  line-height: 1.75 !important;
}

body.lower-story-page.listing-page main #job-list .list-card .list-card-address-full,
body.lower-story-page.favorites-page main #favorite-company-list .list-card .list-card-address-full {
  font-size: var(--site-readable-control-size) !important;
  line-height: 1.7 !important;
}

body.lower-story-page.listing-page main #job-list .list-chip-group .company-tag-chip,
body.lower-story-page.favorites-page main #favorite-company-list .list-chip-group .company-tag-chip {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.lower-story-page main :where(
  .btn,
  .ghost-btn,
  .list-card-primary,
  .detail-entry-primary,
  .detail-entry-phone,
  .company-directory-link-btn,
  .detail-company-map-link
) {
  font-size: var(--site-readable-control-size) !important;
}

@media (max-width: 700px) {
  body.lower-story-page.companies-page main .company-directory-link-btn,
  body.lower-story-page main .company-directory-link-btn {
    min-width: 108px;
    min-height: 46px;
    line-height: 1.35 !important;
  }

  body.lower-story-page.detail-page main .detail-mobile-entry-bar :where(.detail-entry-primary, .detail-entry-phone) {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
}

/* Shared readable replacement for missing or broken company logos. */
.company-text-logo {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--site-navy-strong);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

:where(.detail-hero-logo, .detail-company-profile-logo).company-text-logo {
  display: grid;
  padding: 8px;
  place-items: center;
  -webkit-line-clamp: unset;
}

.taxi-map-marker .taxi-map-marker-text-logo {
  width: 100%;
  height: 100%;
  padding: 1px;
  border: 0;
  background: transparent;
  font-size: 9px;
  line-height: 1.2;
  overflow: hidden;
}

.hero-map.is-map-compact .taxi-map-marker:not(.is-selected) .taxi-map-marker-text-logo {
  opacity: 0;
}

:where(.list-card-logo-badge, .company-directory-logo, .detail-hero-logo, .detail-company-profile-logo, .company-logo-thumb, .map-company-popup-logo) > .company-text-logo {
  place-self: center;
}

:where(.detail-hero-logo, .detail-company-profile-logo) > .company-text-logo {
  padding: 6px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.3;
}

[data-shared-component="site-footer"] address {
  color: #fff !important;
}

[data-shared-component="site-footer"] .footer-operator {
  margin: 0 0 6px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

/* Warm editorial surfaces for the guide and the shared footer. */
body:has(.guide-hero),
body:has(.guide-hero) .page-shell {
  background: #fff;
}

body:has(.guide-hero) .guide-hero {
  border-bottom: 1px solid rgba(37, 50, 65, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 246, 217, 0.96) 0%, rgba(255, 255, 255, 0.94) 56%, rgba(255, 250, 240, 0.98) 100%);
}

.guide-top-copy .guide-title-job {
  margin-bottom: 4px;
  color: #8a6200;
  font-family: var(--site-font);
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.35;
}

body:has(.guide-hero) #employment,
body:has(.guide-hero) #schedule,
body:has(.guide-hero) #faq {
  background: #fff;
}

body:has(.guide-hero) #patterns,
body:has(.guide-hero) #support {
  border-top: 1px solid rgba(37, 50, 65, 0.08);
  border-bottom: 1px solid rgba(37, 50, 65, 0.08);
  background: #fffdf8;
}

body:has(.guide-hero) .guide-photo-story {
  background:
    linear-gradient(135deg, #fff7dc 0%, #fffdf8 48%, #fff 100%);
}

.page-shell .site-footer,
.site-shell .site-footer {
  margin-top: 48px;
  border-top-color: #e7ddc8;
  background: #faf8f2;
}

.site-shell .site-footer {
  margin-top: 0;
}

.site-footer .footer-bottom {
  border-top-color: #e7ddc8;
  background: rgba(255, 255, 255, 0.36);
}

/* Shared footer: one official composition across every route. */
.page-shell [data-shared-component="site-footer"],
.site-shell [data-shared-component="site-footer"] {
  margin-top: 56px;
  overflow: hidden;
  border-top: 0;
  background: var(--site-dark);
  color: rgba(255, 255, 255, 0.8);
}

.site-shell [data-shared-component="site-footer"] {
  margin-top: 0;
}

[data-shared-component="site-footer"]::before {
  content: "" !important;
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: block !important;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

[data-shared-component="site-footer"] .footer-main {
  padding: 54px 0 44px;
  grid-template-columns: minmax(330px, 1.4fr) minmax(180px, 0.66fr) minmax(180px, 0.66fr);
  gap: clamp(34px, 4.5vw, 64px);
}

[data-shared-component="site-footer"] .footer-association {
  min-width: 0;
}

[data-shared-component="site-footer"] .brand--footer.brand--wordmark {
  min-height: 68px;
  margin-inline: auto;
  padding: 8px 0;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

[data-shared-component="site-footer"] .brand--footer.brand--wordmark .brand-logo-img {
  display: block;
  object-position: center;
  filter: brightness(0) invert(1) !important;
}

[data-shared-component="site-footer"] .brand-sample-note {
  border-color: rgba(35, 50, 71, 0.52);
  background: rgba(238, 242, 244, 0.8);
}

[data-shared-component="site-footer"] address {
  color: rgba(255, 255, 255, 0.68);
}

[data-shared-component="site-footer"] .footer-social-links {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 16px 0 0;
}

.site-footer[data-shared-component="site-footer"] .footer-main nav.footer-social-links {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
}

[data-shared-component="site-footer"] .footer-social-link {
  box-sizing: border-box;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
  padding: 0;
  flex: 0 0 42px;
  line-height: 0;
}

.site-footer[data-shared-component="site-footer"] .footer-main nav a.footer-social-link::after {
  content: none;
  display: none;
  margin: 0;
}

[data-shared-component="site-footer"] .footer-social-link:hover,
[data-shared-component="site-footer"] .footer-social-link:focus-visible {
  border-color: var(--site-yellow);
  background: var(--site-yellow);
  color: var(--site-navy-strong);
  transform: translateY(-1px);
}

[data-shared-component="site-footer"] .footer-social-link svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

[data-shared-component="site-footer"] .footer-social-link .is-filled {
  fill: currentColor;
  stroke: none;
}

.site-footer[data-shared-component="site-footer"] .footer-association .footer-map-link,
.site-footer[data-shared-component="site-footer"] .footer-association .footer-phone {
  color: #fff !important;
}

[data-shared-component="site-footer"] .footer-nav {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

[data-shared-component="site-footer"] .footer-main h3 {
  margin-bottom: 14px;
  color: var(--site-yellow);
  font-size: 13px;
}

[data-shared-component="site-footer"] .footer-main h3::after {
  content: none;
  display: none;
}

[data-shared-component="site-footer"] .footer-main nav a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
}

[data-shared-component="site-footer"] .footer-main nav a:hover {
  color: #fff;
}

[data-shared-component="site-footer"] .footer-bottom {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding-right: max(24px, calc((100vw - 1280px) / 2));
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 30, 45, 0.32);
  color: rgba(255, 255, 255, 0.72);
}

[data-shared-component="site-footer"] .footer-bottom a {
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - 1280px) / 2));
  transform: translateY(-50%);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--site-yellow);
}

@media (max-width: 900px) {
  [data-shared-component="site-footer"] .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-shared-component="site-footer"] .footer-association {
    grid-column: 1 / -1;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  [data-shared-component="site-footer"] .footer-nav {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  [data-shared-component="site-footer"] .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding-top: 34px;
  }

  [data-shared-component="site-footer"] .footer-association {
    grid-column: 1 / -1;
  }

  [data-shared-component="site-footer"] .footer-main nav a {
    min-height: 42px;
    font-size: 13px;
  }

  [data-shared-component="site-footer"] .footer-bottom {
    min-height: 58px;
    padding-top: 8px;
    padding-right: 68px;
    padding-bottom: 8px;
    padding-left: 14px;
    align-items: center;
  }

  [data-shared-component="site-footer"] .footer-bottom a {
    right: 14px;
  }
}

@media (max-width: 760px) {
  [data-shared-component="site-footer"] .footer-bottom span {
    max-width: none;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1;
  }

  body:has(.guide-hero) .guide-hero {
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .guide-top-copy .guide-title-job {
    margin-bottom: 6px;
    font-size: 0.74em;
  }
}

@media (max-width: 360px) {
  [data-shared-component="site-footer"] .footer-bottom span {
    font-size: 10px;
  }
}

.not-found-main {
  min-height: min(68vh, 720px);
  display: grid;
  place-items: center;
  padding: 88px 0 104px;
  background: var(--site-canvas);
}

.not-found-content {
  text-align: center;
}

.not-found-code {
  margin: 0 0 4px;
  color: #d99b00;
  font-size: clamp(3.75rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
}

.not-found-content h1 {
  margin: 0;
  color: #123453;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 0;
}

.not-found-content > p:not(.not-found-code) {
  margin: 20px auto 0;
  color: #536779;
  line-height: 1.9;
}

.not-found-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.not-found-actions a {
  min-width: 190px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 560px) {
  .not-found-main {
    min-height: 58vh;
    padding: 64px 0 72px;
  }

  .not-found-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .not-found-actions a {
    width: 100%;
  }
}

/* Quiet motion and tactile feedback for lower-page reading journeys. */
.page-shell {
  background:
    linear-gradient(145deg, rgba(255, 246, 217, 0.46) 0, rgba(255, 253, 248, 0.96) 260px, var(--site-canvas) 640px);
}

.page-shell > .site-header {
  transition:
    background-color 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.page-shell > .site-header.is-scrolled {
  border-bottom-color: rgba(35, 50, 71, 0.12);
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 12px 28px rgba(35, 50, 71, 0.08);
}

.global-nav a::after {
  background: var(--site-yellow);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.global-nav a:hover::after,
.global-nav a.is-current::after,
.global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

:where(
  .btn,
  .ghost-btn,
  .header-cta,
  .favorite-link,
  .company-directory-link-btn,
  .list-card-primary,
  .detail-entry-primary,
  .map-popup-detail-link
) {
  transition:
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

@media (hover: hover) {
  :where(
    .btn,
    .ghost-btn,
    .header-cta,
    .company-directory-link-btn,
    .list-card-primary,
    .detail-entry-primary,
    .map-popup-detail-link
  ):hover {
    transform: translateY(-2px);
  }

  .site-header .header-cta:hover,
  .page-shell :where(.btn-accent, .detail-entry-primary, .company-directory-link-btn--job):hover {
    box-shadow: 0 9px 20px rgba(163, 111, 0, 0.13) !important;
  }
}

.detail-page .page-heading {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  background: rgba(255, 253, 248, 0.72);
}

.detail-page .detail-summary {
  padding-top: 36px;
}

.company-directory-table tbody tr,
.company-directory-logo img,
.company-directory-link-btn--official::after {
  transition:
    background-color 220ms ease,
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 220ms ease;
}

@media (hover: hover) {
  .company-directory-table tbody tr:hover {
    background: #fffaf0;
  }

  .company-directory-table tbody tr:hover .company-directory-logo img {
    transform: scale(1.045);
  }

  .company-directory-link-btn--official:hover::after {
    transform: translate(2px, -2px);
  }
}

.detail-photo-nav,
.detail-recommend-nav-button {
  transition:
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 220ms ease,
    background-color 220ms ease;
}

@media (hover: hover) {
  .detail-photo-nav:hover,
  .detail-recommend-nav-button:hover {
    transform: scale(1.06);
    border-color: rgba(216, 168, 60, 0.7);
    background: #fff9e8;
  }
}

.about-hero-media img {
  transform: scale(1.018);
  animation: aboutHeroDrift 13s ease-in-out infinite alternate;
}

.about-area-map img {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) {
  .about-area-map:hover img {
    transform: scale(1.025);
  }
}

.guide-top-visual {
  animation: guideVisualDrift 14s ease-in-out infinite alternate;
}

.site-motion-enabled .site-reveal {
  --site-reveal-x: 0px;
  --site-reveal-y: 26px;
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(var(--site-reveal-x), var(--site-reveal-y), 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--site-reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.site-motion-enabled .site-reveal[data-site-motion-axis="left"] {
  --site-reveal-x: -22px;
  --site-reveal-y: 8px;
}

.site-motion-enabled .site-reveal[data-site-motion-axis="right"] {
  --site-reveal-x: 22px;
  --site-reveal-y: 8px;
}

.site-motion-enabled .site-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.site-motion-enabled .guide-workstyle-row .guide-timeline-segment {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1050ms cubic-bezier(0.2, 0.7, 0.2, 1) 280ms;
}

.site-motion-enabled .guide-workstyle-row.is-visible .guide-timeline-segment {
  transform: scaleX(1);
}

.site-motion-enabled .guide-schedule-card .guide-month-strip span {
  opacity: 0;
  transform: translateY(7px);
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.site-motion-enabled .guide-schedule-card.is-visible .guide-month-strip span {
  opacity: 1;
  transform: translateY(0);
}

.site-motion-enabled .guide-schedule-card.is-visible .guide-month-strip span:nth-child(2n) { transition-delay: 90ms; }
.site-motion-enabled .guide-schedule-card.is-visible .guide-month-strip span:nth-child(3n) { transition-delay: 150ms; }

[data-shared-component="site-footer"] .footer-main nav a::after {
  content: "›";
  margin-left: 7px;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

@media (hover: hover) {
  [data-shared-component="site-footer"] .footer-main nav a:hover::after {
    opacity: 0.72;
    transform: translateX(0);
  }
}

@keyframes aboutHeroDrift {
  from { transform: scale(1.018) translate3d(0, 0, 0); }
  to { transform: scale(1.05) translate3d(-0.7%, -0.5%, 0); }
}

@keyframes guideVisualDrift {
  from { background-position: center 47%; }
  to { background-position: center 54%; }
}

@media (max-width: 900px) {
  body.portal-menu-open {
    overflow: hidden;
  }

  .portal-mobile-menu[hidden] {
    display: none !important;
  }

  .portal-mobile-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(24, 56, 79, 0.44);
    backdrop-filter: blur(8px);
    transition:
      opacity 320ms ease,
      visibility 0s linear 420ms;
  }

  .portal-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .portal-mobile-menu-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    box-sizing: border-box;
    width: min(430px, 100%);
    padding: 24px clamp(20px, 7vw, 34px) 32px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(155deg, #fff7da 0, #fffdf8 40%, #fff 100%);
    box-shadow: -18px 0 46px rgba(22, 45, 65, 0.14);
    opacity: 0;
    transform: translateX(34px);
    transition:
      opacity 380ms ease,
      transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .portal-mobile-menu.is-open .portal-mobile-menu-panel {
    opacity: 1;
    transform: translateX(0);
  }

  .portal-mobile-menu-head {
    padding-bottom: 20px;
    border-bottom-color: rgba(35, 50, 71, 0.14);
  }

  .portal-mobile-menu-title {
    color: var(--site-navy-strong);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
  }

  .portal-mobile-menu-close {
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--site-navy-strong);
    font-weight: 400;
  }

  .portal-mobile-menu-links {
    margin: 12px 0 22px;
  }

  .portal-mobile-menu-links a {
    min-height: 56px;
    border-bottom-color: rgba(35, 50, 71, 0.12);
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(12px);
    transition:
      opacity 340ms ease,
      transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .portal-mobile-menu.is-open .portal-mobile-menu-links a {
    opacity: 1;
    transform: translateX(0);
  }

  .portal-mobile-menu.is-open .portal-mobile-menu-links a:nth-child(2) { transition-delay: 45ms; }
  .portal-mobile-menu.is-open .portal-mobile-menu-links a:nth-child(3) { transition-delay: 90ms; }
  .portal-mobile-menu.is-open .portal-mobile-menu-links a:nth-child(4) { transition-delay: 135ms; }
  .portal-mobile-menu.is-open .portal-mobile-menu-links a:nth-child(5) { transition-delay: 180ms; }
  .portal-mobile-menu.is-open .portal-mobile-menu-links a:nth-child(6) { transition-delay: 225ms; }

  .portal-mobile-menu-actions {
    grid-template-columns: 1fr;
  }

  .portal-mobile-menu-actions a {
    min-height: 52px;
    border-radius: var(--site-radius-control);
  }

  .portal-mobile-menu-actions .is-primary {
    border: 1px solid rgba(216, 168, 60, 0.62);
    background: var(--site-yellow);
  }

  .site-motion-enabled .site-reveal[data-site-motion-axis="left"],
  .site-motion-enabled .site-reveal[data-site-motion-axis="right"] {
    --site-reveal-x: 0px;
    --site-reveal-y: 22px;
  }

  .detail-page .page-heading {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-media img,
  .guide-top-visual,
  .company-directory-scroll-cue i::before,
  .company-directory-scroll-cue i::after {
    animation: none !important;
  }

  .site-reveal,
  .guide-timeline-segment,
  .guide-month-strip span {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .portal-mobile-menu,
  .portal-mobile-menu-panel,
  .portal-mobile-menu-links a {
    transition: none !important;
  }
}
