@font-face {
  font-family: "YongTai Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("/media/fonts/noto-sans-tc-public.woff2") format("woff2");
}
:root {
  --blue: #134aa3;
  --ink: #172b45;
  --muted: #66758a;
  --line: #e3e9f1;
  --wash: #f5f7fb;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family:
    "YongTai Sans", "Noto Sans TC", "Microsoft JhengHei", "PingFang TC",
    sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: white;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blue);
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input,
select,
textarea {
  border: 1px solid #cad4e1;
  border-radius: 8px;
  padding: 11px 13px;
  max-width: 100%;
  color: var(--ink);
  background: white;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}
:focus-visible {
  outline: 3px solid #2988e8;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  letter-spacing: 0.02em;
}
h1 {
  font-size: clamp(30px, 4vw, 44px);
}
h2 {
  font-size: clamp(25px, 3vw, 34px);
}
h3 {
  font-size: 19px;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: 1240px;
  margin: auto;
  padding: 0 24px;
}
.section {
  padding: 70px 0;
}
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 7px;
  padding: 12px 24px;
  font-weight: 700;
  white-space: nowrap;
}
.button:hover {
  background: #0b3982;
  color: white;
}
.button.secondary {
  background: white;
  color: var(--blue);
}
.button.small {
  padding: 9px 19px;
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.text-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 10px #152d4d0c;
}
.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 235px;
  max-height: 75px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-entry {
  position: relative;
  flex: 0 0 auto;
}
.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-row > a {
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
  white-space: nowrap;
  padding: 32px 0;
  font-size: 15px;
  font-weight: 600;
}
.nav-entry.active .nav-row > a {
  color: var(--blue);
}
.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 32px;
  /* Retain a 24px pointer target; only the 12px icon takes layout space. */
  margin: 0 -6px;
  border: 0;
  background: none;
  line-height: 1;
  padding: 0;
  color: var(--muted);
}
.menu-toggle svg {
  display: block;
  width: 12px;
  height: 8px;
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 230px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  list-style: none;
  box-shadow: 0 18px 35px #132a4520;
  display: none;
  max-height: 70vh;
  overflow: auto;
}
.nav-sub a {
  display: block;
  padding: 7px 12px;
  font-size: 14px;
  white-space: nowrap;
}
.nav-sub a:hover {
  background: var(--wash);
  border-radius: 5px;
}
.nav-entry:hover > .nav-sub,
.nav-entry.open > .nav-sub {
  display: block;
}
.mobile-toggle {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  height: min(44vw, 650px);
  background: #17324c;
  color: white;
  overflow: hidden;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(5, 20, 41, 0.83),
    rgba(5, 20, 41, 0.43) 56%,
    rgba(5, 20, 41, 0.12)
  );
}
.hero-content {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
}
.hero .eyebrow {
  color: #c6dcff;
  font-size: 13px;
}
.hero h1 {
  font-size: clamp(34px, 3.8vw, 56px);
  max-width: 620px;
  line-height: 1.35;
  margin-bottom: 22px;
  letter-spacing: 0.035em;
  text-wrap: balance;
}
.hero p {
  max-width: 540px;
  color: #e1e9f4;
  font-size: 17px;
  margin-bottom: 30px;
}
.hero .button {
  background: white;
  border-color: white;
  color: var(--blue);
}
.hero .hero-secondary {
  color: white;
  background: transparent;
  border-color: #ffffff90;
}
.hero-controls {
  position: absolute;
  bottom: 24px;
  right: max(24px, calc((100vw - 1192px) / 2));
  display: flex;
  gap: 4px;
  align-items: center;
}
.hero-controls button {
  color: white;
  border: 1px solid #ffffff80;
  background: #ffffff20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
}
.hero-controls .hero-dot {
  display: grid;
  place-items: center;
  background: transparent;
  border-color: transparent;
}
.hero-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid white;
  border-radius: 50%;
  background: #172b4580;
}
.hero-dot[aria-pressed="true"]::before {
  background: white;
}
.hero-controls button:focus-visible { outline: 2px solid white; outline-offset: 1px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 35px;
}
.section-heading h2 {
  margin-bottom: 12px;
}
.section-heading p {
  color: var(--muted);
  margin-bottom: 0;
}
.section-heading > .text-link {
  white-space: nowrap;
  margin-bottom: 5px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  overflow: hidden;
  box-shadow: 0 5px 16px #172b4506;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px #172b4514;
}
.service-card h3 {
  padding: 22px 20px 0;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}
.service-card h3 span {
  color: var(--blue);
}
.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}
.news-section {
  background: var(--wash);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
}
.article-card > a {
  display: block;
  height: 100%;
  color: inherit;
}
.article-card > a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.article-card-image {
  aspect-ratio: 1.9;
  overflow: hidden;
}
.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-content {
  padding: 24px;
}
.article-card time,
.detail-content > time {
  font-size: 13px;
  color: var(--muted);
}
.article-card h3 {
  font-size: 18px;
  margin: 10px 0;
}
.article-card p {
  font-size: 14px;
  color: var(--muted);
}
.contact-band {
  background: #ecf2fa;
  padding: 45px 0;
}
.contact-band > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.contact-band h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.contact-band p {
  color: var(--muted);
  margin-bottom: 0;
}
.site-footer {
  padding: 55px 0 20px;
  background: #fff;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 50px;
}
.footer-logo {
  width: 220px;
  max-height: 76px;
  object-fit: contain;
  margin-bottom: 15px;
}
.footer-grid h3 {
  font-size: 16px;
  margin-top: 10px;
}
.footer-grid p {
  margin-bottom: 8px;
  color: var(--muted);
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 35px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a {
  margin-left: 12px;
}
.back-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px #0001;
  z-index: 5;
}
.page-heading {
  padding: 38px 0 42px;
  background: linear-gradient(110deg, #edf3fc, #f7f9fc);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.page-heading h1 {
  margin-bottom: 12px;
}
.page-heading p {
  margin-bottom: 0;
  max-width: 750px;
  color: var(--muted);
}
.support-search {
  padding: 28px;
  background: var(--wash);
  border-radius: 14px;
  margin-bottom: 36px;
  border: 1px solid var(--line);
}
.support-search label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
}
.search-row {
  display: flex;
  gap: 12px;
}
.search-row input {
  flex: 1;
  min-width: 100px;
}
.support-layout,
.detail-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 35px;
}
.detail-layout:not(:has(aside)) {
  display: block;
  max-width: 1000px;
}
.category-list {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 120px;
}
.category-list h2 {
  font-size: 16px;
  padding: 18px 18px 6px;
}
.category-list a {
  display: block;
  padding: 12px 18px;
  border-left: 3px solid transparent;
  font-size: 14px;
}
.category-list a:hover {
  background: var(--wash);
}
.category-list .selected {
  background: #ecf3ff;
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 700;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 15px;
}
.results-heading p {
  margin-bottom: 0;
  color: var(--muted);
}
.results-heading a {
  color: var(--blue);
}
.download-grid {
  display: grid;
  gap: 16px;
}
.download-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: border-color 0.2s;
}
.download-card:hover {
  border-color: #adbfdb;
  color: inherit;
}
.download-icon {
  border-radius: 12px;
  background: #edf3fc;
  color: var(--blue);
  font-size: 28px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 60px;
  flex-shrink: 0;
}
.download-copy {
  flex: 1;
  min-width: 0;
}
.download-copy h2 {
  font-size: 18px;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.download-copy p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.badge {
  display: inline-block;
  background: #f0f4fa;
  color: #537196;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
}
.file-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.download-button {
  border: 1px solid #c7d6ea;
  border-radius: 7px;
  color: var(--blue);
  padding: 8px 17px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.download-card:hover .download-button,
.download-card:focus-visible .download-button {
  background: var(--blue);
  color: white;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 35px 0 15px;
  font-size: 14px;
}
.pagination a {
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--blue);
}
.download-note,
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
.empty-state {
  text-align: center;
  border: 1px dashed var(--line);
  padding: 50px 20px;
  border-radius: 12px;
}
.empty-state h2 {
  font-size: 24px;
}
.empty-state p {
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.tabs a {
  padding: 8px 20px;
  background: var(--wash);
  border-radius: 6px;
  font-size: 14px;
}
.tabs .selected {
  color: white;
  background: var(--blue);
}
.inline-search {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.prose {
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.prose p {
  margin-bottom: 20px;
}
.prose h2 {
  margin: 35px 0 18px;
  font-size: 26px;
}
.prose h3 {
  margin: 28px 0 12px;
  font-size: 21px;
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose img {
  height: auto !important;
  max-width: 100% !important;
}
.prose table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.prose td,
.prose th {
  border: 1px solid #dce3ed;
  padding: 11px 12px;
  min-width: 75px;
  vertical-align: middle;
}
.prose th,
.prose table > tbody > tr:first-child {
  background: #edf3fc;
  font-weight: 600;
}
.prose tr:nth-child(even) {
  background: #f8fafc;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin: 20px 0;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.table-scroll table {
  margin: 0 !important;
  min-width: 600px;
}
.price-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.price-toc a {
  padding: 6px 12px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  text-decoration: none;
}
.price-search {
  padding: 20px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 28px;
}
.price-search label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}
.price-search input {
  width: 100%;
}
.price-search p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.price-disclaimer {
  background: #edf3fc;
  color: #456287;
  padding: 16px;
  font-size: 13px;
  border-radius: 7px;
  margin-top: 30px;
}
.detail-content {
  min-width: 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
}
.contact-layout label {
  display: block;
  margin-bottom: 17px;
  font-size: 14px;
  font-weight: 600;
}
.contact-layout input,
.contact-layout textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.contact-layout .honey {
  position: absolute;
  left: -10000px;
}
.contact-layout .form-note {
  font-weight: 400;
}
.form-note a {
  text-decoration: underline;
}
.error {
  color: #a52626 !important;
}
.success {
  color: #167447 !important;
}
@media (max-width: 1050px) {
  .header-inner {
    height: 82px;
    gap: 15px;
  }
  .brand img {
    width: 190px;
  }
  .main-menu {
    gap: 20px;
  }
  .site-header nav {
    gap: 20px;
  }
  .nav-row > a {
    font-size: 14px;
  }
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero {
    height: 600px;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .container {
    padding: 0 20px;
  }
  .header-inner {
    height: 76px;
  }
  .brand img {
    width: 190px;
    max-height: 60px;
  }
  .mobile-toggle {
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 10px;
    color: var(--blue);
    font-size: 25px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--line);
    padding: 14px 20px 24px;
    box-shadow: 0 12px 20px #172b4515;
    max-height: 85vh;
    overflow: auto;
  }
  .site-header nav.mobile-open {
    display: block;
  }
  .main-menu {
    display: block;
  }
  .nav-row {
    justify-content: space-between;
  }
  .nav-row > a {
    justify-content: flex-start;
    width: auto;
    padding: 12px 0;
    flex: 1;
  }
  .menu-toggle {
    position: static;
    transform: none;
    margin: 0;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .nav-sub {
    position: static;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-height: none;
    padding: 0 12px;
    background: var(--wash);
    margin-bottom: 8px;
  }
  .nav-entry:hover > .nav-sub {
    display: none;
  }
  .nav-entry.open > .nav-sub {
    display: block;
  }
  .phone-button {
    margin-top: 15px;
  }
  .hero {
    height: 600px;
    min-height: 0;
  }
  .hero-content {
    justify-content: center;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: 38px;
    max-width: 500px;
  }
  .hero p {
    font-size: 16px;
    max-width: 450px;
  }
  .hero:after {
    background: linear-gradient(90deg, #051429db, #05142975);
  }
  .hero-slide img {
    object-position: 65% center;
  }
  .section {
    padding: 48px 0;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading > .text-link {
    margin-top: 15px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .service-card h3 {
    font-size: 16px;
    padding: 18px 15px 0;
  }
  .support-layout,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .category-list {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    border: 0;
    border-radius: 0;
  }
  .category-list h2 {
    width: 100%;
    margin: 0;
    padding: 0 0 6px;
  }
  .category-list a {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
  }
  .category-list .selected {
    border: 1px solid #bdd0ef;
  }
  .service-sidebar {
    display: none;
  }
  .support-search {
    padding: 20px;
    margin-bottom: 25px;
  }
  .contact-band > .container {
    display: block;
  }
  .contact-band .actions {
    margin-top: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom > div {
    margin-top: 12px;
  }
  .footer-bottom a {
    margin: 0 12px 0 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 520px) {
  .hero {
    height: 550px;
  }
  .hero h1 {
    font-size: 36px;
    max-width: 330px;
  }
  .hero p {
    max-width: 340px;
  }
  .hero .actions {
    gap: 10px;
  }
  .hero .button {
    padding: 11px 18px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > .text-link {
    display: inline-block;
    margin-top: 14px;
  }
  .service-grid {
    gap: 13px;
  }
  .service-card h3 {
    font-size: 14px;
    padding: 15px 12px 0;
    margin-bottom: 12px;
  }
  .service-card img {
    aspect-ratio: 1.4;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-row input {
    width: 100%;
    flex-basis: 100%;
  }
  .search-row select {
    flex: 1;
    min-width: 0;
  }
  .search-row .button {
    padding: 10px 24px;
  }
  .download-card {
    gap: 12px;
    padding: 19px;
    flex-wrap: wrap;
  }
  .download-icon {
    width: 40px;
    height: 48px;
    font-size: 25px;
  }
  .download-copy h2 {
    font-size: 16px;
  }
  .download-button {
    margin-left: 52px;
    padding: 6px 18px;
  }
  .download-copy {
    flex-basis: calc(100% - 52px);
  }
  .download-copy p {
    font-size: 12px;
  }
  .page-heading {
    padding: 28px 0 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .contact-band h2 {
    font-size: 24px;
  }
  .pagination {
    gap: 12px;
    font-size: 12px;
  }
  .inline-search input {
    min-width: 0;
    width: 100%;
  }
  .prose h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.hero h1 span {
  display: block;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Interaction effects: transform/opacity only, with no change to navigation layout. */
.site-header {
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 5px 24px #17324c14;
}
.nav-row > a {
  position: relative;
}
.nav-row > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  /* Anchor to the centered text line, independent of header height. */
  top: calc(50% + .75em + 4px);
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
  pointer-events: none;
}
.nav-row > a:hover::after,
.nav-row > a:focus-visible::after {
  transform: scaleX(1);
}
.menu-toggle svg {
  transition: transform 0.25s ease;
}
.menu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-sub {
  transform-origin: top center;
}
.nav-entry.open > .nav-sub,
.nav-entry:hover > .nav-sub {
  animation: menu-enter 0.22s ease-out both;
}
@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero {
  touch-action: pan-y pinch-zoom;
}
.motion-reveal {
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s,
    border-color 0.25s;
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}
.motion-reveal.is-visible {
  opacity: 1;
}
.motion-reveal:hover,
.motion-reveal:focus-within {
  transition-delay: 0ms;
}
.service-card,
.article-card,
.download-card {
  position: relative;
  isolation: isolate;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s,
    border-color 0.25s,
    opacity 0.55s;
}
.service-card::before,
.article-card::before,
.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    #76aaf226,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: 1;
}
.service-card img,
.article-card img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card h3 span {
  transition: transform 0.25s;
}
.service-card:focus-visible,
.article-card:focus-within,
.download-card:focus-visible {
  box-shadow: 0 10px 30px #17324c15;
  border-color: #aec6e8;
}
.button,
.download-button {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.button:hover,
.download-card:hover .download-button {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px #134aa326;
}
.button:active,
.download-card:active .download-button {
  transform: translateY(0) scale(0.98);
}
.press-feedback {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.click-ripple {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: currentColor;
  z-index: -1;
}
.category-list a,
.tabs a {
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.category-list a:hover,
.tabs a:hover {
  background: #e6effd;
  color: var(--blue);
}
.category-list a:hover {
  border-left-color: var(--blue);
}
.tabs a:hover {
  box-shadow: inset 3px 0 0 #134aa3;
}
.support-search {
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.support-search:focus-within {
  border-color: #99b8e3;
  box-shadow: 0 0 0 4px #134aa30a;
}
input,
select,
textarea {
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px #134aa30c;
}
.prose tbody tr {
  transition: background 0.2s;
}
.prose tbody tr:hover {
  background: #eaf2ff;
}
.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: loading-turn 0.7s linear infinite;
}
@keyframes loading-turn {
  to {
    transform: rotate(360deg);
  }
}
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, #134aa3, #38a6e8);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.back-top {
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.back-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 20px #134aa322;
  background: #f0f5ff;
}
@media (hover: hover) and (pointer: fine) {
  .nav-entry:hover .menu-toggle svg {
    transform: rotate(180deg);
  }
  .service-card.pointer-active,
  .article-card.pointer-active,
  .download-card.pointer-active {
    transform: perspective(900px) translateY(-5px) rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg));
    box-shadow: 0 14px 34px #17324c18;
    border-color: #b4cbea;
  }
  .pointer-active::before {
    opacity: 1;
  }
  .service-card:hover img,
  .article-card:hover img {
    transform: scale(1.035);
  }
  .service-card:hover h3 span {
    transform: translate(2px, -2px);
  }
}
@media (max-width: 800px) {
  .nav-row > a::after {
    right: auto;
    width: 30px;
  }
  .site-header nav.mobile-open {
    animation: menu-enter 0.24s ease-out both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .service-card,
  .article-card,
  .download-card,
  .button,
  .download-button,
  .back-top,
  .hero-content > * {
    animation: none !important;
    transform: none !important;
  }
  .service-card img,
  .article-card img {
    transform: none !important;
  }
  .service-card::before,
  .article-card::before,
  .download-card::before {
    display: none;
  }
  .reading-progress {
    display: none;
  }
}

.footer-bottom span {
  overflow-wrap: anywhere;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-actions .line-button {
  background: #16744e;
  border-color: #16744e;
  color: #fff;
}
.header-actions .line-button:hover {
  background: #0e5d3c;
  border-color: #0e5d3c;
}
.global-repair-search {
  position: relative;
  z-index: 40;
  background: #f5f8fd;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
#global-repair-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}
#global-repair-form > label {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.global-repair-input {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  position: relative;
}
.global-repair-input input {
  width: 100%;
  padding-right: 40px;
  min-width: 0;
  flex: 1;
}
.repair-clear {
  position: absolute;
  right: 95px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
#global-repair-results {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(850px, 100%);
  background: white;
  border: 1px solid #cbd9ec;
  border-radius: 10px;
  box-shadow: 0 15px 35px #17324c25;
  padding: 16px;
  max-height: min(65vh, 500px);
  overflow: auto;
}
#global-repair-status {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
#global-repair-results ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
#global-repair-results li + li {
  border-top: 1px solid var(--line);
}
#global-repair-results li a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 10px;
  border-radius: 5px;
  transition: background 0.2s;
}
#global-repair-results li a:hover,
#global-repair-results li a:focus-visible {
  background: #edf4ff;
}
#global-repair-results li strong {
  font-size: 15px;
  color: var(--ink);
}
#global-repair-results li span {
  font-size: 12px;
  color: var(--muted);
}
.repair-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.repair-result-card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
  background: white;
}
.repair-result-card h2 {
  font-size: 21px;
  margin: 12px 0;
}
.repair-result-card p {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.prose tr.repair-row-highlight,
#repair-prices tr:target {
  background: #e3efff;
  box-shadow: inset 4px 0 var(--blue);
}
@media (max-width: 1050px) and (min-width: 801px) {
  .header-inner .brand img {
    width: 160px;
  }
  .header-actions .button.small {
    font-size: 12px;
    padding: 8px 10px;
  }
  .header-actions {
    gap: 10px;
  }
}
@media (max-width: 800px) {
  .header-actions {
    margin-top: 15px;
  }
  .header-actions .phone-button {
    margin-top: 0;
  }
  .header-actions .button.small {
    font-size: 14px;
    padding: 10px 16px;
  }
  .global-repair-search {
    padding: 13px 0;
  }
  #global-repair-form {
    display: block;
  }
  #global-repair-form > label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
  }
  .global-repair-input input {
    font-size: 14px;
  }
  .global-repair-input > .button {
    padding: 10px 18px;
  }
  #global-repair-results {
    top: calc(100% + 10px);
    width: 100%;
  }
  .repair-clear {
    right: 88px;
  }
  .repair-result-grid {
    grid-template-columns: 1fr;
  }
}

.global-repair-input input::-webkit-search-cancel-button {
  appearance: none;
  -webkit-appearance: none;
}

.download-card[id] { scroll-margin-top: 120px; }
.download-card:target { outline: 2px solid #1670bd; outline-offset: 5px; }

/* Contact: clear choices first, with an approachable shop-and-inquiry layout. */
.contact-intro { background: var(--wash); padding: 44px 0 48px; }
.contact-intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.contact-intro h1 { font-size: 22px; margin: 8px 0 20px; }
.contact-intro h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.35; margin: 0 0 20px; letter-spacing: -.025em; }
.contact-intro p { color: var(--muted); margin-bottom: 0; }
.contact-intro-aside { border-left: 2px solid var(--blue); padding: 4px 0 4px 28px; margin-bottom: 8px; }
.contact-intro-aside > span { font-size: 13px; color: var(--muted); }
.contact-intro-aside p { font-size: 23px; color: var(--ink); margin: 12px 0 22px; }
.contact-methods { padding: 32px 0 0; }
.contact-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.contact-method { display: flex; align-items: flex-start; gap: 16px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 8px; transition: background .2s, border-color .2s, transform .2s; }
.contact-method:hover, .contact-method:focus-visible { border-color: var(--blue); background: #f5f9ff; transform: translateY(-3px); }
.contact-method-icon { color: var(--blue); flex-shrink: 0; padding-top: 4px; }
.contact-method small, .contact-method strong, .contact-method > span > span { display: block; }
.contact-method small { color: var(--muted); font-size: 12px; }
.contact-method strong { font-size: 19px; margin: 6px 0 8px; }
.contact-method > span > span { font-size: 12px; color: var(--muted); }
.contact-method-arrow { margin-left: auto; color: var(--blue); }
.contact-method-line { background: #f3faf6; border-color: #dcece1; }
.contact-method-line .contact-method-icon { color: #16754e; }
.contact-rich-layout { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-shop-photo { position: relative; }
.contact-shop-photo img { width: 100%; height: 300px; object-fit: cover; object-position: 50% 38%; display: block; border-radius: 4px 44px 4px 4px; }
.contact-shop-photo > span { position: absolute; left: 20px; bottom: 20px; background: white; padding: 7px 12px; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.contact-store-copy { padding-top: 30px; }
.contact-store-copy h2 { font-size: 30px; line-height: 1.5; margin: 10px 0 22px; }
.contact-store-copy > p { color: var(--muted); font-size: 14px; }
.contact-store-copy dl { margin: 20px 0; }
.contact-store-copy dl > div { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.contact-store-copy dt { color: var(--muted); }
.contact-store-copy dd { margin: 0; overflow-wrap: anywhere; }
.contact-store-copy .contact-visit-note { background: var(--wash); border-left: 2px solid var(--blue); padding: 16px 18px; margin: 24px 0; }
.contact-form-panel { padding: 36px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 36px #172b4506; min-width: 0; }
.contact-form-panel > h2 { font-size: 27px; margin: 8px 0 12px; }
.contact-form-intro { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.contact-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.contact-required { color: var(--muted); font-size: 11px; font-weight: 400; padding-left: 6px; }
.contact-topic-picker { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact-topic-picker > span { font-size: 12px; color: var(--muted); }
.contact-topic-picker > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.contact-topic-picker button { border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px; font: inherit; font-size: 12px; color: var(--ink); background: white; cursor: pointer; }
.contact-topic-picker button:hover, .contact-topic-picker button[aria-pressed=true] { border-color: var(--blue); color: var(--blue); background: #edf4ff; }
.contact-submit { width: 100%; margin-top: 8px; }
#contact-status:empty { margin: 0; }
#contact-status { font-size: 14px; overflow-wrap: anywhere; }
.contact-preparation { background: var(--wash); }
.contact-preparation h2 { font-size: clamp(27px,3vw,36px); margin: 10px 0; }
.contact-prep-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.contact-prep-grid > div { border-top: 1px solid #bacbe2; padding-top: 24px; }
.contact-prep-grid > div > span { color: var(--blue); font-size: 12px; font-weight: 600; }
.contact-prep-grid h3 { font-size: 20px; margin: 16px 0 10px; }
.contact-prep-grid p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
main:has(.contact-page) + .contact-band { display: none; }
@media (max-width: 1050px) {
  .contact-method-grid { gap: 12px; }
  .contact-method { padding: 20px 16px; gap: 10px; }
  .contact-method strong { font-size: 16px; }
  .contact-rich-layout { gap: 30px; }
  .contact-form-panel { padding: 26px; }
}
@media (max-width: 800px) {
  .contact-intro { padding: 32px 0; }
  .contact-intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-intro h2 { font-size: 36px; }
  .contact-intro-aside { padding-left: 18px; }
  .contact-intro-aside p { font-size: 20px; margin: 8px 0 16px; }
  .contact-method-grid { grid-template-columns: 1fr; }
  .contact-method { padding: 20px; }
  .contact-method strong { font-size: 19px; }
  .contact-rich-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-panel { padding: 26px 20px; order: -1; }
  .contact-field-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-prep-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-method { transition: none; transform: none; }
}

/* About: an editorial shop portrait, with the existing YongTai brand palette. */
.about-page-heading { padding-top: 36px; padding-bottom: 28px; }
.about-page-heading h1 { margin: 6px 0 0; font-size: 25px; }
.about-intro { padding: 0 0 80px; }
.about-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about-storefront { position: relative; margin: 0; }
.about-storefront img { width: 100%; height: 560px; object-fit: cover; object-position: 52% 50%; border-radius: 4px 64px 4px 4px; display: block; }
.about-storefront figcaption { position: absolute; bottom: 24px; left: 24px; background: white; color: var(--ink); padding: 12px 20px; font-size: 13px; border-left: 3px solid var(--blue); }
.about-intro-copy h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.35; letter-spacing: -.025em; margin: 18px 0 24px; }
.about-intro-copy p { color: var(--muted); }
.about-intro-copy .about-lead { font-size: 19px; color: var(--ink); }
.about-inline-note { margin: 28px 0; padding: 16px 0 16px 20px; border-left: 3px solid var(--blue); }
.about-inline-note strong, .about-inline-note span { display: block; }
.about-inline-note span { font-size: 14px; color: var(--muted); margin-top: 6px; }
.about-page .section-heading h2, .about-faq h2, .about-visit h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.45; margin: 12px 0 20px; }
.about-page .section-heading > p { max-width: 290px; color: var(--muted); }
.about-values { background: var(--wash); }
.about-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.about-value { border-top: 2px solid var(--blue); padding-top: 24px; }
.about-number { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.about-value h3 { font-size: 22px; margin: 20px 0 12px; }
.about-value p, .about-service p, .about-steps p, .about-faq p, .about-visit p { color: var(--muted); font-size: 15px; }
.about-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.about-service { display: flex; align-items: baseline; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.about-service h3 { margin: 0 0 8px; font-size: 22px; }
.about-service p { margin: 0; }
.about-link-arrow { color: var(--blue); font-size: 25px; margin-left: auto; }
.about-service:hover, .about-service:focus-visible { background: var(--wash); padding-left: 14px; padding-right: 14px; }
.about-process { background: #172b45; color: white; }
.about-process .eyebrow { color: #9fc6ff; }
.about-process .section-heading > p, .about-process .about-steps p { color: #c5d1e1; }
.about-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 38px 0 0; }
.about-steps li { border-top: 1px solid #ffffff40; padding-top: 24px; }
.about-steps li > span { display: block; font-size: 38px; font-weight: 500; color: #9fc6ff; }
.about-steps h3 { font-size: 22px; margin: 16px 0 8px; }
.about-faq-grid, .about-visit-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.about-faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.about-faq-list details:first-child { border-top: 1px solid var(--line); }
.about-faq-list summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; align-items: baseline; gap: 24px; }
.about-faq-list summary::-webkit-details-marker { display: none; }
.about-faq-list summary::after { content: '+'; margin-left: auto; flex-shrink: 0; color: var(--blue); font-size: 24px; font-weight: 400; }
.about-faq-list details[open] summary::after { content: '−'; }
.about-faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.about-faq-list p { margin: 16px 30px 0 0; }
.about-visit { background: var(--wash); }
.about-contact-panel { background: white; padding: 36px 40px; border-radius: 6px; box-shadow: 0 12px 40px #172b4508; }
.about-contact-panel h3 { font-size: 22px; margin: 0 0 20px; }
.about-contact-panel dl { margin: 0 0 26px; }
.about-contact-panel dl > div { display: grid; grid-template-columns: 85px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.about-contact-panel dt { color: var(--muted); }
.about-contact-panel dd { margin: 0; overflow-wrap: anywhere; }
.sso-login { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: white; flex-shrink: 0; cursor: pointer; }
.sso-login:hover, .sso-login:focus-visible { background: #edf4ff; border-color: var(--blue); }
.sso-entry { position: relative; flex-shrink: 0; }
.sso-status { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: max-content; padding: 8px 12px; border-radius: 5px; background: var(--ink); color: white; font-size: 12px; z-index: 100; }
.sso-entry:hover .sso-status, .sso-entry:focus-within .sso-status { display: block; }
.header-inner { gap: 20px; }
.header-inner .brand { margin-right: auto; }
.site-header .header-inner { height: 82px; }
.site-header .brand img { width: 225px; max-height: 56px; }
.site-header .nav-row > a { padding-top: 16px; padding-bottom: 16px; }
.site-header .header-actions .button.small { padding: 10px 16px; }
@media (max-width: 1250px) {
  .site-header .header-inner { height: 66px; gap: 12px; }
  .site-header .header-inner .brand img { width: 180px; max-width: 44vw; max-height: 46px; }
  .mobile-toggle { display: block; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; color: var(--blue); font-size: 25px; }
  .site-header nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: white; border-top: 1px solid var(--line); padding: 14px 20px 24px; box-shadow: 0 12px 20px #172b4515; max-height: 80vh; overflow: auto; }
  .site-header nav.mobile-open { display: block; animation: menu-enter .24s ease-out both; }
  .main-menu { display: block; }
  .nav-row { justify-content: space-between; }
  .site-header .nav-row > a { justify-content: flex-start; width: auto; padding: 12px 0; flex: 1; }
  .menu-toggle { position: static; transform: none; margin: 0; width: 44px; height: 44px; padding: 0; }
  .nav-sub { position: static; border: 0; border-radius: 0; box-shadow: none; max-height: none; padding: 0 12px; background: var(--wash); margin-bottom: 8px; }
  .nav-entry:hover > .nav-sub { display: none; }
  .nav-entry.open > .nav-sub { display: block; }
  .header-actions { margin-top: 15px; }
  .header-actions .phone-button { margin-top: 0; }
  .header-actions .button.small { font-size: 14px; padding: 10px 16px; }
  .nav-row > a::after { right: auto; width: 30px; }
}
@media (max-width: 800px) {
  .about-intro { padding-bottom: 48px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-storefront img { height: 340px; border-top-right-radius: 40px; }
  .about-value-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-service-grid { grid-template-columns: 1fr; }
  .about-steps { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .about-faq-grid, .about-visit-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-contact-panel { padding: 28px 22px; }
  .about-intro-copy h2 { font-size: 36px; }
  .about-page-heading { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-service { transition: none; }
  .site-header nav.mobile-open { animation: none; }
}

/* Navigation cards and homepage sections. */
.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.route-cards a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  transition: border-color .2s, background-color .2s;
}
.route-cards a:hover,
.route-cards a:focus-visible {
  border-color: var(--blue);
  background: #f5f9ff;
}
.route-cards strong,
.route-cards small { display: block; }
.route-cards small { margin-top: 5px; color: var(--muted); font-size: 13px; }
.route-number { font-size: 12px; color: var(--blue); font-weight: 700; padding-top: 3px; }
.route-arrow { color: var(--blue); }
.home-paths { padding-block: 46px; }
.home-paths .section-heading { margin-bottom: 22px; }
.home-paths + .services-section { border-top: 1px solid var(--line); }
.home-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.home-visit img { display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; border-radius: 4px 36px 4px 4px; }
.home-visit h2 { font-size: clamp(24px, 3vw, 36px); margin: 10px 0 16px; }
.home-visit p { color: var(--muted); }
.home-visit .home-visit-address { color: var(--ink); font-weight: 600; }
.home-visit .actions { align-items: center; }
.service-card:has(h3:only-child) { min-height: 88px; }
.service-image-credits { margin-top: 22px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.service-image-credits summary { color: var(--blue); cursor: pointer; width: fit-content; }
.service-image-credits ul { padding-left: 20px; }
.service-image-credits li { margin-block: 4px; }
.service-image-credits a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 800px) {
  .route-cards, .home-visit-grid { grid-template-columns: minmax(0, 1fr); }
  .route-cards { gap: 10px; }
  .route-cards a { padding: 16px; }
  .home-paths { padding-block: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .route-cards a { transition: none; }
}
