/* ==========================================================================
   The website's front page (views/landing.ejs), for visitors who are not
   signed in. Self-contained: it does not load portal.css.

   KUYA's "Service Beyond Boundaries" design: a full-width photograph behind
   the official seal and the Order's full name, the headline and buttons on a
   navy fade at the left, the motto on the right, and five picture cards
   across the foot. Below it, white. Light only.
   ========================================================================== */

:root {
  color-scheme: light;

  --navy: #0B2E7A;
  --navy-deep: #061B4D;
  --navy-ink: #04133A;
  --blue: #1D66C9;
  --blue-soft: #EFF5FD;
  --gold: #F2C14E;
  --gold-deep: #D99A1A;
  --gold-grad: linear-gradient(180deg, #FFE08A 0%, #F4C24D 48%, #D99A1A 100%);

  --ink: #0F1B33;
  --ink-soft: #3B4A63;
  --ink-muted: #6B7690;
  --line: #E3E8F1;
  --surface: #FFFFFF;
  --surface-alt: #F5F8FD;

  --serif: Georgia, "Times New Roman", Times, serif;
  --wrap: min(1320px, 100% - 48px);
  --wide: min(1380px, 100% - 40px);
  --split: 92px;          /* how far the picture cards hang below the photograph */
  --safe-t: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }

.lbody {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.lskip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--navy-deep);
  padding: .6rem 1rem; font-weight: 700; border-radius: 0 0 10px 0;
}
.lskip:focus { left: 0; }

/* --- top bar, laid over the photograph ----------------------------------------- */

.lnav {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: flex-start; gap: 28px;
  width: var(--wrap); margin: 0 auto;
  padding: calc(14px + var(--safe-t)) 0 0;
  color: #fff;
}

.lcrest { display: flex; align-items: center; gap: 20px; min-width: 0; }
.lcrest__seal {
  width: 172px; height: auto; flex: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45));
}
.lcrest__text { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.lcrest__text b {
  display: block; font-size: 1.32rem; font-weight: 650; line-height: 1.22;
  letter-spacing: .01em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.lcrest__text b span { display: block; }
.lcrest__text em {
  display: block; margin-top: 8px; padding-top: 8px; width: 100%;
  font-family: var(--serif); font-size: 1.14rem; font-style: italic; color: var(--gold);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent) top / 100% 1px no-repeat;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.lcrest__text small {
  display: block; margin-top: 4px;
  font-size: .82rem; font-weight: 550; letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.lnav__links { display: flex; gap: 6px; margin: 20px 0 0 auto; }
.lnav__links a {
  position: relative; display: block; padding: 8px 14px;
  font-size: .98rem; font-weight: 550; color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
  transition: color .15s ease;
}
.lnav__links a:hover { color: #fff; }
.lnav__links a[aria-current="page"] { color: var(--gold); font-weight: 700; }
.lnav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--gold);
}

.lnav__portal {
  display: inline-flex; align-items: center; gap: 10px; flex: none; margin-top: 12px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--navy); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: .86rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(3, 12, 40, .4);
  transition: transform .15s ease, background-color .15s ease;
}
.lnav__portal svg { width: 18px; height: 18px; }
.lnav__portal:hover { transform: translateY(-1px); background: #0F3A96; }

/* --- the photograph and everything on it ----------------------------------------- */

.lhero { position: relative; isolation: isolate; color: #fff; padding-top: calc(212px + var(--safe-t)); }

.lhero__bg {
  position: absolute; z-index: -1; inset: 0 0 var(--split) 0; overflow: hidden;
  background:
    radial-gradient(circle at 0% 100%, rgba(29, 102, 201, .45), transparent 45%),
    linear-gradient(115deg, var(--navy-ink) 0%, var(--navy-deep) 38%, var(--navy) 100%);
}

/* the picture sits to the right, so the people in it stand clear of the words */
.lhero__photo {
  position: absolute; top: 0; bottom: 0; left: 14%; right: -8%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 16%, #000 34%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 16%, #000 34%);
}
.lhero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 30%; }
.lhero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 19, 58, .72) 0%, rgba(4, 19, 58, .15) 26%,
                            rgba(4, 19, 58, 0) 50%, rgba(4, 19, 58, .55) 78%, rgba(4, 19, 58, .9) 100%),
    linear-gradient(90deg, rgba(6, 27, 77, .6) 0%, rgba(6, 27, 77, 0) 40%, rgba(6, 27, 77, 0) 72%, rgba(6, 27, 77, .55) 100%);
}

/* the flag's colours as a sweep across the lower left: colours only, no sun or stars */
.lhero__ribbons { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.lhero__tag, .lcard__tag {
  position: absolute; z-index: 2;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(4, 19, 58, .62); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .62rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
}
.lhero__tag { right: max(20px, (100% - 1380px) / 2); top: calc(236px + var(--safe-t)); }

.lhero__in { position: relative; width: var(--wrap); margin: 0 auto; padding: 18px 0 30px; }
.lhero__in > * { max-width: 600px; }

.lhero__kicker {
  margin: 0 0 8px;
  font-size: 1.02rem; font-weight: 700; font-style: italic;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.lhero__title {
  margin: 0 0 16px;
  font-size: clamp(2.7rem, 4.6vw, 4.3rem); font-weight: 900; line-height: .98;
  letter-spacing: -.02em; text-transform: uppercase; color: #fff;
  text-shadow: 0 6px 28px rgba(0, 0, 0, .35);
}
.lhero__title em {
  display: block; font-style: normal; padding-bottom: .04em;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; text-shadow: none;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}
.lhero__lead {
  margin: 0 0 24px; font-size: 1.08rem; line-height: 1.6; color: rgba(255, 255, 255, .94);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

.lhero__acts { display: flex; flex-wrap: wrap; gap: 14px; }

.lbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-size: .9rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.lbtn svg { width: 20px; height: 20px; }
.lbtn svg:last-child { width: 16px; height: 16px; margin-left: 2px; }
.lbtn:hover { transform: translateY(-2px); }
.lbtn--gold {
  background: var(--gold-grad); color: var(--navy-ink);
  box-shadow: 0 14px 30px rgba(217, 154, 26, .34), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.lbtn--ghost {
  color: #fff; background: rgba(4, 19, 58, .35);
  border: 1.5px solid rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lbtn--ghost:hover { background: rgba(255, 255, 255, .14); }
.lbtn--light {
  background: #fff; color: var(--navy);
  box-shadow: 0 12px 26px rgba(3, 12, 40, .25);
}
.lbtn--light svg:last-child { width: 20px; height: 20px; margin-left: 0; }

.lpillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0 0; padding: 0; list-style: none;
}
.lpillars li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2px 10px; line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.lpillars li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
.lpillars svg { width: 30px; height: 30px; margin-bottom: 8px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.lpillars b { font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lpillars span { font-size: .78rem; color: rgba(255, 255, 255, .84); }

/* the motto, over the right of the picture */
.lquote {
  position: absolute; right: max(24px, (100% - 1320px) / 2); top: calc(468px + var(--safe-t));
  width: 250px; margin: 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .6);
}
.lquote blockquote {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: 1.95rem; line-height: 1.18; color: #fff;
}
.lquote figcaption {
  margin-top: 16px; padding-top: 14px;
  font-size: .9rem; font-weight: 550; letter-spacing: .22em; text-transform: uppercase;
  background: linear-gradient(var(--gold), var(--gold)) top left / 56px 3px no-repeat;
}

/* --- the five picture cards across the foot ------------------------------------------- */

.lcards {
  position: relative;
  width: var(--wide); margin: 0 auto; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.lcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 206px; border-radius: 16px; color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .22), transparent 42%),
    linear-gradient(140deg, var(--c1, #0B2E7A), var(--c2, #1D66C9));
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 20px 40px rgba(3, 14, 45, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lcard:hover { transform: translateY(-4px); box-shadow: 0 26px 48px rgba(3, 14, 45, .42); }
.lcard__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.lcard:hover .lcard__img { transform: scale(1.05); }
.lcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 19, 58, 0) 22%, rgba(4, 19, 58, .62) 52%, rgba(4, 19, 58, .95) 100%);
}
.lcard__tag { top: 10px; right: 10px; }
.lcard__body { display: flex; align-items: flex-start; gap: 10px; padding: 14px 14px 16px; }
.lcard__icon { color: var(--gold); padding-top: 1px; }
.lcard__icon svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.lcard h2 {
  margin: 0 0 3px; font-size: .95rem; font-weight: 800; line-height: 1.2;
  letter-spacing: .02em; text-transform: uppercase; color: #fff;
}
.lcard p { margin: 0; font-size: .76rem; line-height: 1.45; color: rgba(255, 255, 255, .86); }

.lnote {
  display: flex; align-items: flex-start; justify-content: center; gap: 8px;
  width: var(--wrap); margin: 16px auto 0;
  font-size: .82rem; line-height: 1.5; color: var(--ink-muted); text-align: center;
}
.lnote svg { width: 17px; height: 17px; margin-top: 1px; color: var(--blue); }

/* gentle rise on arrival */
.lhero__in > * { animation: lrise .7s cubic-bezier(.2, .7, .2, 1) both; }
.lhero__in > :nth-child(2) { animation-delay: .06s; }
.lhero__in > :nth-child(3) { animation-delay: .12s; }
.lhero__in > :nth-child(4) { animation-delay: .18s; }
.lhero__in > :nth-child(5) { animation-delay: .24s; }
@keyframes lrise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --- about and membership ------------------------------------------------------------- */

.lband {
  width: var(--wrap); margin: 56px auto 72px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px;
}
.lband__col {
  position: relative; overflow: hidden;
  padding: 34px 36px 36px; border-radius: 22px;
  background: var(--surface-alt); border: 1px solid var(--line);
}
.lkicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--blue);
}
.lkicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.lband h2 { margin: 10px 0 12px; font-size: 1.85rem; font-weight: 850; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.lband p { margin: 0; color: var(--ink-soft); }
.lband strong { color: var(--navy); }

.lfacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.lfacts li {
  padding: 6px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 650; color: var(--navy);
}

.lband__col--member {
  color: #fff; border: 0;
  background:
    radial-gradient(circle at 10% 110%, rgba(96, 170, 255, .45), transparent 45%),
    linear-gradient(135deg, #0B2E7A 0%, #1D66C9 100%);
  box-shadow: 0 22px 46px rgba(11, 46, 122, .22);
}
.lband__col--member .lkicker,
.lband__col--member h2 { color: #fff; }
.lband__col--member p { color: rgba(255, 255, 255, .9); max-width: 440px; }
.lband__col--member .lbtn { margin-top: 22px; }
.lband__col--member > :not(.lband__seal) { position: relative; }
.lband__seal {
  position: absolute; right: -40px; bottom: -46px; width: 220px; height: auto;
  opacity: .14; pointer-events: none;
}

/* --- footer ------------------------------------------------------------------------------ */

.lfoot {
  color: rgba(255, 255, 255, .86);
  background: linear-gradient(180deg, #0B2E7A 0%, #061B4D 100%);
  padding: 34px 0 calc(28px + env(safe-area-inset-bottom, 0px));
}
.lfoot__top {
  width: var(--wrap); margin: 0 auto; padding-bottom: 22px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.lcrest--foot { gap: 14px; }
.lcrest--foot .lcrest__seal { width: 62px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35)); }
.lcrest--foot .lcrest__text { align-items: flex-start; text-align: left; }
.lcrest--foot .lcrest__text b { font-size: .9rem; font-weight: 750; }
.lcrest--foot .lcrest__text em { margin-top: 4px; padding-top: 0; background: none; font-size: .9rem; }
.lfoot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.lfoot__links a { font-size: .9rem; font-weight: 550; color: rgba(255, 255, 255, .86); }
.lfoot__links a:hover { color: #fff; }
.lfoot__social { display: flex; gap: 10px; }
.lfoot__social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
}
.lfoot__social a:hover { background: rgba(255, 255, 255, .2); }
.lfoot__social svg { width: 18px; height: 18px; }

.lfoot__legal {
  width: var(--wrap); margin: 18px auto 0;
  display: grid; gap: 4px;
  font-size: .8rem; line-height: 1.55; color: rgba(255, 255, 255, .64);
}
.lfoot__legal p { margin: 0; }
.lfoot__credit { color: rgba(255, 255, 255, .82); }

/* --- inner pages: the privacy notice (privacy.ejs) ------------------------------------------ */

.lpage__head {
  color: #fff;
  background:
    radial-gradient(circle at 0% 100%, rgba(29, 102, 201, .45), transparent 45%),
    linear-gradient(115deg, var(--navy-ink) 0%, var(--navy-deep) 45%, var(--navy) 100%);
  padding: calc(14px + var(--safe-t)) 0 44px;
}
.lpage__bar { width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lcrest--page .lcrest__seal { width: 76px; }
.lcrest--page .lcrest__text { align-items: flex-start; text-align: left; }
.lcrest--page .lcrest__text b { font-size: 1rem; }
.lcrest--page .lcrest__text em { margin-top: 4px; padding-top: 0; background: none; font-size: .95rem; }
.lpage__bar .lnav__links { margin: 0 0 0 auto; }
.lpage__bar .lnav__portal { margin-top: 0; }
.lpage__title { width: min(760px, 100% - 32px); margin: 34px auto 0; }
.lpage__title .lhero__kicker { font-size: .86rem; }
.lpage__title h1 {
  margin: 6px 0 8px; color: #fff;
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em;
}
.lpage__title p:last-child { margin: 0; color: rgba(255, 255, 255, .86); }

.lprose {
  width: min(760px, 100% - 32px); margin: 0 auto; padding: 32px 0 64px;
  font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft);
}
.lprose h2 { margin: 34px 0 10px; font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }
.lprose p { margin: 0 0 1rem; }
.lprose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.lprose li { margin-bottom: .45rem; }
.lprose b { color: var(--ink); }
.lprose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.ldraft {
  padding: 14px 18px; border-radius: 14px;
  background: #FFF6DC; border: 1px solid var(--gold); color: #6B4A00; font-size: .95rem;
}
.ldraft b { color: #6B4A00; }
.lfill { padding: 0 .3em; border-radius: 4px; background: #FFE9A8; color: #6B4A00; font-weight: 650; }

/* --- narrower screens --------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .lquote { display: none; }
  .lhero__photo { left: 22%; right: -14%; }
}

@media (max-width: 1180px) {
  .lcrest__seal { width: 132px; }
  .lcrest__text b { font-size: 1.08rem; }
  .lcrest__text em { font-size: 1rem; }
  .lhero { padding-top: calc(172px + var(--safe-t)); }
  .lhero__tag { top: calc(190px + var(--safe-t)); }
  .lnav__links a { padding: 8px 10px; }
  .lnav__links a[aria-current="page"]::after { left: 10px; right: 10px; }

  /* the cards become a row to swipe through */
  .lcards {
    display: flex; gap: 12px; width: 100%; padding: 4px 20px 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .lcards::-webkit-scrollbar { display: none; }
  .lcard { flex: 0 0 272px; scroll-snap-align: start; }
}

@media (max-width: 900px) {
  .lnav { flex-wrap: wrap; row-gap: 4px; }
  .lcrest__text small { display: none; }
  .lnav__links { order: 3; width: 100%; margin: 0 -10px; }
  .lnav__portal { margin-left: auto; }
  .lhero { padding-top: calc(212px + var(--safe-t)); }
  .lhero__tag { top: calc(222px + var(--safe-t)); }
  .lband { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100% - 32px); --split: 88px; }

  /* two rows: the seal and name, then the menu with the portal button at its end */
  .lnav { gap: 8px 10px; align-items: center; padding-top: calc(12px + var(--safe-t)); }
  .lcrest { gap: 10px; flex: 1 1 100%; }
  .lcrest__seal { width: 60px; }
  .lcrest__text { align-items: flex-start; text-align: left; }
  .lcrest__text b { font-size: clamp(.64rem, 2.9vw, .8rem); letter-spacing: 0; }
  .lcrest__text em { margin-top: 3px; padding-top: 0; background: none; font-size: .78rem; }
  .lnav__portal { order: 3; gap: 6px; margin: 0; padding: 9px 13px; font-size: .74rem; }
  .lnav__portal svg { width: 16px; height: 16px; }
  .lnav__long { display: none; }
  .lnav__links { order: 2; flex: 1 1 auto; width: auto; gap: 0; margin: 0 0 0 -10px; }
  .lnav__links a { font-size: .9rem; padding: 6px 10px; }
  .lnav__links a[aria-current="page"]::after { bottom: 0; }

  /* the picture sits above the headline, full width, and fades out downwards */
  .lhero { padding-top: calc(128px + var(--safe-t)); }
  .lhero__photo {
    left: 0; right: 0; bottom: auto; top: calc(104px + var(--safe-t)); height: 330px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 100%);
  }
  .lhero__photo img { object-position: 40% 30%; }
  .lhero__photo::after {
    background: linear-gradient(180deg, rgba(4, 19, 58, .3) 0%, rgba(4, 19, 58, 0) 30%, rgba(4, 19, 58, .5) 100%);
  }
  .lhero__ribbons { top: auto; height: 70%; }
  .lhero__tag { top: calc(150px + var(--safe-t)); right: 16px; }

  .lhero__in { padding: 214px 0 26px; }
  .lhero__kicker { font-size: .86rem; letter-spacing: .12em; }
  .lhero__title { font-size: 2.55rem; margin-bottom: 12px; }
  .lhero__lead { font-size: 1rem; margin-bottom: 22px; }
  .lhero__acts { flex-direction: column; gap: 12px; }
  .lbtn { width: 100%; }
  .lpillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; margin-top: 24px; }
  .lpillars li:nth-child(3) { border-left: 0; }

  .lcards { padding: 4px 16px 8px; scroll-padding-inline: 16px; }
  .lcard { flex: 0 0 80%; min-height: 200px; }

  .lband { margin: 40px auto 48px; gap: 16px; }
  .lband__col { padding: 26px 22px 28px; border-radius: 18px; }
  .lband h2 { font-size: 1.55rem; }
  .lband__seal { width: 160px; right: -34px; bottom: -34px; }

  .lfoot__top { flex-direction: column; align-items: flex-start; }
  .lfoot__links { margin-left: 0; }
}

@media (max-width: 380px) {
  .lhero__title { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 760px) {
  .lcrest--page .lcrest__seal { width: 56px; }
  .lcrest--page .lcrest__text b { font-size: clamp(.64rem, 2.9vw, .8rem); }
  .lpage__head { padding-bottom: 30px; }
  .lpage__title { margin-top: 18px; }
  .lprose { padding-top: 22px; font-size: .98rem; }
  .lprose h2 { font-size: 1.2rem; }
}
