/* HONLAN's service pages pair the ink and sea palette with warm sample-paper surfaces. */
.ly-page {
  --ly-ink: #10384b;
  --ly-muted: #465f69;
  --ly-teal: #11665e;
  --ly-pale: #a6ddd1;
  --ly-paper: #f3f2ea;
  --ly-line: #c9d5d2;
  margin: 0;
  background: #fff;
  color: var(--ly-ink);
  font-family: var(--hn-font);
}
.ly-page *, .ly-page *::before, .ly-page *::after { box-sizing: border-box; }
.ly-wrap { width: min(1200px, calc(100% - clamp(40px, 9vw, 136px))); margin-inline: auto; }
.ly-skip { position: absolute; left: 18px; top: -80px; padding: 12px; z-index: 999; color: #fff; background: var(--ly-ink); }
.ly-skip:focus { top: 8px; }
.ly-page main [id] { scroll-margin-top: 96px; }
.ly-page :where(main) :where(h1,h2,h3,h4,p,figure,ol,ul,dl,dd,blockquote) { margin: 0; }
.ly-page main p { color: var(--ly-muted); line-height: 1.78; }
.ly-page main :is(h1,h2,h3,h4) { color: inherit; text-wrap: pretty; }
.ly-phrase { white-space: nowrap; }
.ly-page main h2 { font-size: clamp(1.77rem, 3.05vw, 2.8rem); font-weight: 590; line-height: 1.32; }
.ly-page main h3 { font-size: clamp(1.16rem, 1.62vw, 1.48rem); font-weight: 600; line-height: 1.48; }
.ly-page main a { text-underline-offset: .24em; }
.ly-page main :is(a,summary):focus-visible, .ly-footer a:focus-visible { outline: 3px solid #2c91cb; outline-offset: 4px; }
.ly-page main [tabindex="-1"]:focus { outline: none; }
.ly-section-nav { background: #fff; border-bottom: 1px solid var(--ly-line); }
.ly-section-nav > div { display: flex; gap: clamp(16px, 3vw, 40px); }
.ly-section-nav a { display: inline-flex; align-items: center; min-height: 46px; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--ly-muted); text-decoration: none; font-size: .93rem; }
.ly-section-nav a[aria-current] { border-color: var(--ly-teal); color: var(--ly-ink); font-weight: 650; }
.ly-section-nav a:hover { color: var(--hn-blue); }

.ly-hero { background: var(--ly-ink); color: #fff; }
.ly-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.ly-hero-copy { align-self: center; padding: clamp(34px, 4vw, 62px) clamp(28px, 3.65vw, 58px) clamp(34px, 4vw, 62px) 0; }
body.ly-page main .ly-hero h1 { font-size: clamp(2.05rem, 3.27vw, 3.18rem); line-height: 1.26; font-weight: 590; letter-spacing: -.025em; text-wrap: balance; }
.ly-hero h1 span { color: var(--ly-pale); }
.ly-overview .ly-hero h1 .ly-phrase { color: inherit; }
.ly-hero h1 em { color: var(--ly-pale); font-style: normal; }
.ly-page .ly-hero-copy > p { max-width: 38em; margin-top: 18px; color: #e0ecee; font-size: clamp(.99rem, 1.15vw, 1.08rem); }
.ly-page main .ly-hero-photo { position: relative; min-height: 350px; margin-right: min(0px, (1200px - 100vw) / 2, -4.5vw); overflow: hidden; }
.ly-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.ly-hero-photo figcaption, .ly-dispatch-photo figcaption { position: absolute; right: 13px; bottom: 12px; padding: 3px 8px; border-radius: 3px; background: rgb(10 31 39 / 83%); color: #fff; font-size: .73rem; line-height: 1.5; }
.ly-advisory .ly-hero { background: #eef2eb; color: var(--ly-ink); }
.ly-managed .ly-hero { background: #e4eef0; color: var(--ly-ink); }
:is(.ly-advisory,.ly-managed) .ly-hero h1 span { color: var(--ly-teal); }
:is(.ly-advisory,.ly-managed) .ly-hero-copy > p { color: var(--ly-muted); }
.ly-page .ly-hero-copy .ly-price { color: var(--ly-ink); }
.ly-price strong { font-size: 1.32em; font-weight: 650; }
.ly-price span { padding-left: .7em; margin-left: .5em; border-left: 1px solid #9db2ad; font-size: .86rem; white-space: nowrap; }
.ly-page .ly-hero-copy .ly-terms { margin-top: 14px; font-size: .84rem; }
.ly-hero-actions, .ly-section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 21px; margin-top: 22px; }
.ly-page .ly-button, .ly-text-link, .ly-related { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 570; text-decoration: underline; text-decoration-color: #92b2ac; }
.ly-page .ly-button { padding: 10px 16px; border-radius: 4px; background: var(--ly-ink); color: white; text-decoration: none; }
.ly-page .ly-button:hover { background: #15576b; }
.ly-text-link { color: var(--ly-teal); }
.ly-page :is(.ly-text-link,.ly-related):hover { text-decoration-color: currentColor; }
.ly-page :is(.ly-button,.ly-text-link,.ly-related,.ly-start-links a,.ly-start-managed,.ly-sub-links a)::after {
  content: ""; display: inline-block; flex: 0 0 auto; width: 7px; height: 7px;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}
.ly-start { margin-top: 25px; padding-top: 12px; border-top: 1px solid #62828a; max-width: 36em; }
.ly-start-head, .ly-start-managed { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.ly-start-head > a, .ly-start-managed strong { font-size: 1.04rem; font-weight: 610; }
.ly-start-head > a { color: #fff; text-decoration-color: #8eafb3; min-height: 44px; display: inline-flex; align-items: center; }
.ly-start-head small { color: #c5e5dd; font-size: .87rem; }
.ly-start-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 12px; }
.ly-start-links a, .ly-sub-links a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; min-height: 44px; color: #f0f7f5; border: 1px solid #6d9099; border-radius: 3px; text-decoration: none; font-size: .94rem; font-weight: 500; }
.ly-start-links a:hover { background: #225061; }
.ly-start-managed { min-height: 48px; margin-top: 9px; color: var(--ly-pale); text-decoration: none; }
.ly-start-managed span { font-size: .93rem; color: #e0ecee; }
.ly-start-managed:hover span { text-decoration: underline; }
.ly-sub-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.ly-sub-links a { color: var(--ly-teal); border-color: #a5beb5; background: #f7faf5; gap: 10px; }
.ly-sub-links a:hover { background: #dfece4; }

.ly-section { padding: clamp(48px, 6vw, 88px) 0; }
.ly-split, .ly-channel-grid, .ly-wide-head { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(32px, 7.8vw, 112px); }
.ly-wide-head { align-items: end; }
.ly-channel-grid { align-items: center; }
.ly-section-lead > p, .ly-channel-grid h2 + p { max-width: 34em; margin-top: 18px; }
.ly-paper { background: var(--ly-paper); }
.ly-channel-grid .ly-text-link, .ly-invitation .ly-text-link, .ly-dispatch + .ly-text-link { margin-top: 10px; }
.ly-platforms { padding: clamp(22px, 3vw, 38px); background: #fff; }
.ly-platforms ul { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 15px 0; list-style: none; border-bottom: 1px solid var(--ly-line); }
.ly-platforms li { color: var(--ly-teal); font-size: 1.04rem; font-weight: 620; }
.ly-platforms > p { margin-top: 12px; font-size: .95rem; }
.ly-stories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px, 4vw, 60px); margin-top: 30px; }
.ly-stories article { padding-top: 18px; border-top: 2px solid #749a97; }
.ly-page .ly-byline { font-size: .9rem; font-weight: 570; color: var(--ly-teal); }
.ly-stories h3, .ly-nanjing h2 { margin: 8px 0 12px; }
.ly-stories .ly-text-link, .ly-people .ly-text-link { margin-top: 8px; }
.ly-people { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(18px, 2.6vw, 38px); margin-top: 34px; }
.ly-people > article { min-width: 0; padding-top: 20px; border-top: 2px solid #769c9b; }
.ly-page .ly-people h3 { font-size: 1.8rem; }
.ly-people h4 { margin: 5px 0 13px; font-size: 1.02rem; font-weight: 580; line-height: 1.55; }
.ly-people p { font-size: .96rem; }
.ly-people strong { color: var(--ly-ink); font-weight: 620; }
.ly-more { margin-top: 9px; }
.ly-more summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; border-block: 1px solid var(--ly-line); cursor: pointer; list-style: none; font-size: .9rem; color: var(--ly-teal); }
.ly-page summary::-webkit-details-marker { display: none; }
.ly-more p { margin-top: 10px; }
.ly-plus { position: relative; width: 14px; height: 14px; flex: 0 0 14px; }
.ly-plus::before, .ly-plus::after { content: ""; position: absolute; width: 14px; height: 1.5px; inset: 6px auto auto 0; background: currentColor; }
.ly-plus::after { transform: rotate(90deg); }
details[open] > summary .ly-plus::after { transform: rotate(0); }
.ly-invitation { background: #e5efeb; padding: clamp(38px,4.4vw,66px) 0; }
.ly-page .ly-invitation h2 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); }

/* Decisions and the chronological case record on the advisory page. */
.ly-prep-list, .ly-fit-list { margin-top: 31px; }
.ly-prep-list > div, .ly-fit-list > div { display: grid; grid-template-columns: minmax(140px,.6fr) minmax(0,1.5fr) minmax(170px,.9fr); align-items: baseline; gap: clamp(18px, 3vw, 46px); padding: 20px 0; border-top: 1px solid var(--ly-line); }
.ly-prep-list > div:first-child, .ly-fit-list > div:first-child { border-top: 2px solid #769c9b; }
.ly-page dt { line-height: 1.54; }
.ly-prep-list dt, .ly-fit-list dt { color: var(--ly-ink); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.33rem); }
.ly-prep-list dd, .ly-fit-list dd, .ly-ledger dd { color: var(--ly-muted); line-height: 1.75; }
.ly-prep-list dd strong { display: block; font-size: .85rem; color: var(--ly-teal); }
.ly-section-actions { margin-top: 8px; border-top: 1px solid var(--ly-line); padding-top: 8px; }
.ly-problems { display: grid; gap: clamp(16px, 2.2vw, 32px); grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 30px; }
.ly-problems article { display: flex; flex-direction: column; padding: clamp(19px, 2.4vw, 34px); background: #fff; border-top: 2px solid #769c9b; }
.ly-problems article p { margin: 12px 0 13px; }
.ly-problems article a { margin-top: auto; align-self: flex-start; }
.ly-case { background: var(--ly-ink); color: #fff; }
.ly-case-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: clamp(35px, 7vw, 105px); align-items: start; }
.ly-case .ly-byline, .ly-case .ly-text-link { color: var(--ly-pale); }
.ly-case h2 { margin: 12px 0 18px; }
.ly-case .ly-case-intro > p:not(.ly-byline), .ly-page main .ly-case-track p { color: #deebec; }
.ly-case-intro > a { margin-top: 15px; }
.ly-case-track { padding: 0; list-style: none; }
.ly-case-track li { position: relative; padding: 0 0 25px 30px; border-left: 1px solid #6d9d9b; }
.ly-case-track li:last-child { padding-bottom: 0; border-color: transparent; }
.ly-case-track li::before { content: ""; position: absolute; width: 11px; height: 11px; top: 6px; left: -6px; border-radius: 50%; border: 2px solid var(--ly-pale); background: var(--ly-ink); }
.ly-case-track li:last-child::before { background: var(--ly-pale); }
.ly-case-track span { color: var(--ly-pale); font-size: .88rem; font-weight: 550; }
.ly-case-track h3 { margin: 4px 0 6px; }
.ly-case-track strong { color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ly-case-track .ly-text-link { margin-top: 5px; }
.ly-ledger > div { padding: 13px 0 18px; border-top: 1px solid var(--ly-line); }
.ly-ledger dt { margin-bottom: 6px; font-size: .9rem; color: var(--ly-teal); font-weight: 600; }
.ly-ledger strong { color: var(--ly-ink); }

/* A factory handoff seen from the packing table and the operations desk. */
.ly-fit-list dd:last-child { display: flex; gap: 0 16px; flex-wrap: wrap; }
.ly-dispatch { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); background: #fff; margin-top: 30px; }
.ly-page main .ly-dispatch-photo { position: relative; min-height: 300px; }
.ly-dispatch-photo img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.ly-dispatch-copy { padding: clamp(22px,3.2vw,49px); }
.ly-dispatch-copy > h3 { font-size: clamp(1.25rem,1.95vw,1.8rem); }
.ly-roles, .ly-steps { list-style: none; padding: 0; counter-reset: ly-step; }
.ly-dispatch .ly-roles { margin-top: 20px; }
.ly-steps li, .ly-roles li { position: relative; padding: 18px 0 19px 44px; border-top: 1px solid var(--ly-line); counter-increment: ly-step; }
.ly-roles li { padding: 11px 0 12px 30px; }
.ly-steps li:first-child { border-color: #719a9d; }
.ly-steps li::before, .ly-roles li::before { content: counter(ly-step, decimal-leading-zero); position: absolute; top: 19px; left: 0; font: 550 1rem/1.5 var(--hn-font); font-variant-numeric: tabular-nums; color: var(--ly-teal); }
.ly-roles li::before { top: 13px; font-size: .84rem; }
.ly-roles h4 { font-size: 1.035rem; font-weight: 600; }
.ly-roles p { margin-top: 4px; font-size: .96rem; }
.ly-steps li p { margin-top: 6px; }
.ly-roles li:last-child { padding-bottom: 0; }

/* Native fragment navigation retains the question and opens the contact in one step. */
.ly-contact { padding: clamp(42px,5.5vw,78px) 0; background: var(--ly-ink); color: #fff; }
.ly-contact-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(195px,.55fr); gap: clamp(28px,7vw,100px); align-items: start; }
.ly-topic { display: none; }
.ly-topic:target { display: block; }
.ly-topic:target ~ .ly-contact-default { display: none; }
.ly-contact h2 { max-width: 18em; }
.ly-page .ly-contact-copy p, .ly-contact-copy blockquote { margin-top: 12px; max-width: 39em; line-height: 1.8; color: #dbe9e9; }
.ly-topic blockquote { margin-top: 5px; font-size: clamp(1.02rem,1.4vw,1.16rem); }
.ly-related { margin-top: 14px; color: var(--ly-pale); }
.ly-page main .ly-qr { justify-self: end; text-align: center; width: min(100%,236px); padding: 14px 15px 12px; background: #fff; border-radius: 5px; color: var(--ly-ink); }
.ly-qr a { display: block; }
.ly-qr img { display: block; width: min(100%,166px); height: auto; margin: auto; }
.ly-qr figcaption { margin-top: 5px; font-size: .82rem; line-height: 1.55; color: var(--ly-muted); text-wrap: balance; }
.ly-footer { padding: 23px 0; background: #fff; }
.ly-footer .ly-wrap, .ly-footer nav { display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.ly-footer img { display: block; width: 105px; height: auto; }
.ly-footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ly-muted); text-decoration: none; font-size: .88rem; }

@media (max-width: 1000px) {
  .ly-people { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
}
@media (max-width: 840px) {
  .ly-hero-grid { grid-template-columns: 1fr; padding-bottom: 22px; }
  .ly-hero-copy { padding: 30px 0 22px; }
  body.ly-page main .ly-hero h1 { max-width: 20em; font-size: clamp(2rem,5.3vw,2.8rem); }
  .ly-page main .ly-hero-photo { margin: 0; min-height: 0; height: clamp(180px,42vw,310px); }
  .ly-hero-photo img { object-position: center 45%; }
  .ly-split, .ly-channel-grid, .ly-wide-head { grid-template-columns: 1fr; gap: 15px; }
  .ly-section { padding: 46px 0; }
  .ly-problems { gap: 12px; }
  .ly-problems article { padding: 16px; }
  .ly-case-grid { gap: 26px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .ly-page main .ly-contact-grid { gap: 26px; }
}
@media (max-width: 740px) {
  .ly-problems, .ly-dispatch, .ly-case-grid { grid-template-columns: 1fr; }
  .ly-problems article { padding: 20px; }
  .ly-case-track { margin-left: 6px; margin-top: 6px; }
  .ly-page main .ly-dispatch-photo { min-height: 0; height: clamp(175px,43vw,280px); }
  .ly-prep-list > div, .ly-fit-list > div { grid-template-columns: 1fr; gap: 6px; padding: 15px 0; }
  .ly-prep-list dd strong { display: inline; margin-right: .45em; }
  .ly-case h2 br { display: none; }
}
@media (max-width: 580px) {
  .ly-wrap { width: calc(100% - 36px); }
  .ly-page main [id] { scroll-margin-top: 77px; }
  .ly-section-nav a { min-height: 44px; font-size: .87rem; }
  .ly-hero-copy { padding: 23px 0 20px; }
  body.ly-page main .ly-hero h1 { font-size: clamp(1.82rem,7.5vw,2.4rem); }
  .ly-page .ly-hero-copy > p { margin-top: 13px; }
  .ly-page main .ly-hero-photo { height: clamp(165px,48vw,238px); }
  .ly-hero-photo figcaption { right: 8px; bottom: 8px; }
  .ly-start { margin-top: 16px; padding-top: 4px; }
  .ly-start-links, .ly-sub-links { gap: 5px 7px; }
  .ly-start-links a { font-size: .86rem; padding-inline: 8px; }
  .ly-start-managed { margin-top: 3px; }
  .ly-sub-links a { font-size: .86rem; padding: 7px 9px; }
  .ly-section { padding: 38px 0; }
  .ly-stories, .ly-people, .ly-contact-grid { grid-template-columns: 1fr; }
  .ly-stories, .ly-people, .ly-problems, .ly-prep-list, .ly-fit-list, .ly-dispatch { margin-top: 22px; }
  .ly-topic blockquote { margin-top: 4px; }
  .ly-page main .ly-qr { width: min(100%,232px); justify-self: start; }
  .ly-footer nav { flex-wrap: wrap; gap: 3px 10px; }
  .ly-footer .ly-wrap { flex-wrap: wrap; }
}
