/* Public landing only: preserve all authenticated and Auth screen styles. */
body.leesam-landing {
  --lp-beige: #E9DFCF;
  --lp-ivory: #FAF7F0;
  --lp-white: #FFFFFF;
  --lp-brown: #73604D;
  --lp-ink: #302D29;
  --lp-muted: #71685E;
  --lp-line: #DDD3C5;
  background: var(--lp-ivory);
  color: var(--lp-ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.leesam-landing #app { max-width: none; padding: 0; }
.leesam-landing *, .leesam-landing *::before, .leesam-landing *::after { box-sizing: border-box; }
.leesam-landing :is(h1,h2,h3,h4,p,figure) { margin: 0; }
.leesam-landing :is(h1,h2,h3,h4) { color: var(--lp-ink); word-break: keep-all; overflow-wrap: anywhere; }
.leesam-landing h2 { font-family: var(--font-serif); font-size: clamp(27px, 2.65vw, 38px); line-height: 1.55; font-weight: 600; letter-spacing: -.055em; }
.leesam-landing :is(h3,h4) { font-family: var(--font-sans); }
.leesam-landing a { color: inherit; text-decoration: none; }
.leesam-landing button { color: inherit; }
.leesam-landing a:focus-visible, .leesam-landing button:focus-visible, .leesam-landing summary:focus-visible { outline: 2px solid var(--lp-brown); outline-offset: 5px; }
.leesam-landing [tabindex="-1"]:focus { outline: none; }
.leesam-landing [hidden] { display: none !important; }
.leesam-landing :is(main,section,header)[id] { scroll-margin-top: 104px; }
.leesam-landing svg { width: 22px; height: 22px; flex: 0 0 auto; }
.lp-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.lp-skip { position: fixed; top: -90px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--lp-white); }
.lp-skip:focus { top: 12px; }
.lp-header { position: sticky; top: 0; z-index: 20; background: rgb(250 247 240 / 96%); border-bottom: 1px solid var(--lp-line); }
.lp-header-inner { display: flex; align-items: center; gap: 36px; height: 90px; }
.lp-brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; min-height: 44px; }
/* Keep the supplied transparent canvas intact; balance its built-in whitespace. */
.lp-brand-mark { display: block; flex-shrink: 0; width: 64px; height: 64px; margin-inline: -8px; object-fit: contain; }
.lp-wordmark { font: 700 26px var(--font-serif); letter-spacing: -.07em; }
.lp-wordmark > span { font-size: 18px; margin-left: 4px; font-weight: 500; }
.lp-desktop-nav { display: flex; gap: 36px; margin-left: auto; }
.lp-desktop-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.lp-desktop-nav a:hover { color: var(--lp-brown); text-decoration: underline; text-underline-offset: 7px; }
.lp-header-login { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 17px; border: 1px solid var(--lp-brown); border-radius: 5px; color: var(--lp-brown) !important; font-size: 13px; font-weight: 500; }
.lp-header-login:hover { background: var(--lp-beige); }
.lp-menu { display: none; }
.lp-hero { background: var(--lp-beige); overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: 1.16fr 1fr; gap: 55px; align-items: center; padding-top: 82px; padding-bottom: 72px; min-height: 650px; }
.lp-hero-grid > * { min-width: 0; }
.lp-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lp-brown); font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.lp-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-brown); }
.leesam-landing .lp-hero h1 { margin: 0 0 24px; font-size: clamp(38px, 4vw, 57px); font-weight: 600; line-height: 1.5; letter-spacing: -.065em; }
.lp-hero-description { color: #575047; font-size: 18px; line-height: 1.95; letter-spacing: -.035em; word-break: keep-all; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.lp-button { display: inline-flex; justify-content: center; align-items: center; gap: 21px; min-height: 54px; padding: 14px 23px; border-radius: 5px; font-size: 14px; font-weight: 500; transition: background-color 180ms, transform 180ms; }
.leesam-landing .lp-primary { background: var(--lp-brown); color: var(--lp-white); border: 1px solid var(--lp-brown); }
.leesam-landing .lp-primary:hover { background: #5F4D3D; }
.lp-secondary { background: transparent; border: 1px solid #8A7762; }
.lp-secondary:hover { background: rgb(255 255 255 / 40%); }
.lp-hero-note { margin-top: 26px !important; color: #65594B; font-size: 14px; letter-spacing: -.02em; }
.lp-notebook { position: relative; width: min(100%, 395px); justify-self: center; padding: 16px 0 34px; }
.lp-notebook-back { position: absolute; top: 20px; bottom: 34px; left: 7px; width: 100%; background: #D5C6B0; transform: rotate(5deg); border-radius: 3px; }
.lp-notebook-page { position: relative; background: var(--lp-ivory); min-height: 449px; padding: 29px 34px; border: 1px solid #CBBCA6; border-radius: 3px; box-shadow: 0 15px 35px rgb(75 59 40 / 7%); transform: rotate(-3deg); }
.lp-notebook-meta { display: flex; justify-content: space-between; color: var(--lp-brown); font-size: 10px; letter-spacing: .1em; }
.lp-notebook-title { margin-top: 28px !important; font: 500 43px/1.55 var(--font-serif); letter-spacing: -.065em; }
.lp-notebook-title > span { color: var(--lp-brown); }
.lp-notebook-rule { height: 1px; margin: 26px 0 18px; background: #CEC1AD; }
.lp-note-steps { list-style: none; padding: 0; margin: 0; color: #655B4E; font-size: 12px; line-height: 2.2; }
.lp-note-steps li span { display: inline-block; width: 28px; color: var(--lp-brown); font-size: 10px; }
.lp-hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #CFC2AE; padding: 24px 0 27px; color: #65594B; font-size: 12px; }
.lp-hero-bottom > span:nth-child(2) { display: flex; gap: 22px; }
.lp-hero-bottom i { font-style: normal; color: #9A8972; }
.lp-hero-bottom a { display: flex; align-items: center; gap: 19px; min-height: 44px; font-size: 9px; letter-spacing: .12em; }
.lp-hero-bottom a > span { font-size: 20px; }
.lp-section { padding-block: 114px; }
.lp-section-label { margin-bottom: 22px !important; color: var(--lp-brown); font-size: 12px; font-weight: 500; letter-spacing: .03em; }
.lp-section-description { margin-top: 23px !important; color: var(--lp-muted); font-size: 17px; line-height: 1.95; word-break: keep-all; }
.lp-direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.lp-direction-list { list-style: none; margin: 0; padding: 0; }
.lp-direction-list li { display: flex; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--lp-line); }
.lp-direction-list li:first-child { padding-top: 0; }
.lp-direction-list li > span { color: var(--lp-brown); font: 500 17px var(--font-serif); padding-top: 2px; }
.lp-direction-list h3 { font-size: 17px; font-weight: 500; letter-spacing: -.04em; line-height: 1.6; }
.lp-direction-list p { margin-top: 8px; color: var(--lp-muted); font-size: 14px; word-break: keep-all; }
.lp-program { background: var(--lp-white); }
/* Admission records are isolated from the history film and learning previews. */
.lp-1lee-admissions { background: var(--lp-ivory); border-bottom: 1px solid var(--lp-line); }
.lp-1lee-admissions .lp-section-heading { flex-wrap: wrap; }
.lp-1lee-admission-period { white-space: nowrap; }
.lp-1lee-admission-heading { font-size: 16px; font-weight: 500; }
.lp-1lee-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.lp-1lee-admission-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--lp-line); border-radius: 9px; background: var(--lp-white); }
.lp-1lee-admission-person { display: flex; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 500; }
.lp-1lee-admission-person span { font-size: 13px; font-weight: 400; color: var(--lp-muted); }
.lp-1lee-admission-card h4 { margin-top: 24px; color: var(--lp-brown); font: 600 28px/1.5 var(--font-serif); }
.lp-1lee-admission-department { padding: 4px 0 25px; font-size: 15px; word-break: keep-all; overflow-wrap: anywhere; }
.lp-1lee-admission-card .lp-1lee-admission-result { margin-top: auto; border-top: 1px solid var(--lp-line); padding-top: 18px; color: var(--lp-brown); font-size: 15px; font-weight: 600; }
.lp-1lee-admission-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 38px 0 16px; }
.lp-1lee-admission-pause { min-height: 44px; min-width: 88px; padding: 9px 14px; background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 6px; font: inherit; font-size: 13px; cursor: pointer; }
.lp-1lee-admission-table { overflow: hidden; border: 1px solid var(--lp-line); border-radius: 9px; background: var(--lp-white); }
.lp-1lee-admission-columns, .lp-1lee-admission-row { display: grid; grid-template-columns: 90px 130px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 24px; }
.lp-1lee-admission-columns { background: var(--lp-beige); color: var(--lp-brown); font-size: 12px; font-weight: 500; }
.lp-1lee-admission-viewport { overflow: clip; }
.lp-1lee-admission-track { will-change: transform; }
.lp-1lee-admission-row { height: var(--lp-admission-row-height, auto); min-height: 68px; border-bottom: 1px solid var(--lp-line); font-size: 14px; line-height: 1.7; }
.lp-1lee-admission-row > span { min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.lp-1lee-admission-row > span:nth-child(2) { color: var(--lp-muted); }
@media (max-width: 800px) {
  .lp-1lee-admission-card { padding: 22px 18px; }
  .lp-1lee-admission-columns, .lp-1lee-admission-row { grid-template-columns: 64px 90px minmax(0, 1fr); gap: 14px; padding-inline: 18px; }
}
@media (max-width: 600px) {
  .lp-1lee-featured { grid-template-columns: 1fr; gap: 13px; }
  .lp-1lee-admission-card { padding: 24px; }
  .lp-1lee-admission-columns, .lp-1lee-admission-row { grid-template-columns: 38px 56px minmax(0, 1fr); gap: 10px; padding: 14px 12px; }
  .lp-1lee-admission-columns { font-size: 11px; }
  .lp-1lee-admission-row { font-size: 13px; }
}
.lp-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.lp-section-heading > p { font-size: 16px; line-height: 1.9; color: var(--lp-muted); margin-bottom: 9px; }
.lp-program-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.lp-program-card { display: flex; flex-direction: column; padding: 27px 24px 25px; border: 1px solid var(--lp-line); border-radius: 9px; background: var(--lp-ivory); }
.lp-program-card:first-child { background: var(--lp-beige); border-color: var(--lp-beige); }
.lp-program-top { display: flex; justify-content: space-between; align-items: center; color: var(--lp-brown); font-size: 12px; }
.lp-program-number { font: 500 27px var(--font-serif); letter-spacing: -.03em; }
.lp-program-mark { display: flex; align-items: flex-end; height: 43px; margin-block: 23px 26px; border-bottom: 1px solid #CFC2AE; }
.lp-program-mark > span { display: block; width: calc(var(--lp-step) * 25%); height: 3px; background: var(--lp-brown); }
.lp-program-card h3 { font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: -.055em; }
.lp-program-card > p { margin-top: 14px; margin-bottom: 29px; color: #655D53; font-size: 16px; line-height: 1.85; word-break: keep-all; }
.lp-program-tag { border-top: 1px solid #D5CAB9; padding-top: 17px; margin-top: auto; color: var(--lp-brown); font-size: 11px; }
.lp-learning-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.lp-feature-list { list-style: none; padding: 0; margin: 29px 0 19px; }
.lp-feature-list li { display: flex; gap: 15px; padding: 9px 0; font-size: 15px; }
.lp-feature-list span { color: var(--lp-brown); font-size: 11px; padding-top: 2px; }
.lp-text-link { display: inline-flex; gap: 25px; align-items: center; min-height: 44px; color: var(--lp-brown) !important; font-size: 14px; border-bottom: 1px solid var(--lp-brown); }
.lp-preview-area { min-width: 0; }
.lp-preview-controls { display: flex; gap: 6px; align-items: center; margin-bottom: 17px; }
.lp-preview-controls button { min-height: 44px; padding: 10px 18px; border: 1px solid #8A7762; border-radius: 5px; background: transparent; font-size: 13px; }
.lp-preview-controls button[aria-pressed="true"] { border-color: var(--lp-brown); background: var(--lp-brown); color: var(--lp-white); }
.lp-preview-controls > span { margin-left: auto; color: var(--lp-muted); font-size: 11px; }
.lp-preview { background: var(--lp-white); border: 1px solid #CFC2AE; border-radius: 10px; box-shadow: 0 12px 32px rgb(75 59 40 / 4%); min-height: 440px; }
.lp-preview-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 25px; border-bottom: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-muted); }
.lp-preview-brand { font: 600 16px var(--font-serif); color: var(--lp-brown); letter-spacing: -.06em; }
.lp-preview-body { padding: 26px; }
.lp-preview-kicker { font-size: 13px; color: var(--lp-muted); }
.lp-preview h3 { margin-top: 5px; font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: -.05em; }
.lp-preview-tabs { display: flex; gap: 22px; margin-top: 20px; border-bottom: 1px solid var(--lp-line); color: var(--lp-muted); font-size: 14px; }
.lp-preview-tabs span { padding-bottom: 12px; }
.lp-preview-tabs span:first-child { color: var(--lp-brown); border-bottom: 2px solid var(--lp-brown); }
.lp-assignment-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 19px; border-bottom: 1px solid var(--lp-line); }
.lp-small-label { font-size: 12px; color: var(--lp-muted); }
.lp-assignment-row h4 { margin-top: 3px; font-size: 13px; font-weight: 500; }
.lp-assignment-row p { margin-top: 5px; font-size: 13px; color: var(--lp-muted); }
.lp-status { flex-shrink: 0; border: 1px solid var(--lp-line); border-radius: 4px; padding: 4px 7px; color: var(--lp-brown); font-size: 12px; }
.lp-status-filled { background: var(--lp-beige); border-color: var(--lp-beige); }
.lp-preview-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 21px; font-size: 13px; color: var(--lp-muted); }
.lp-preview-result strong { font-size: 20px; color: var(--lp-brown); font-weight: 500; }
.lp-preview-result small { font-size: 12px; font-weight: 400; margin-left: 5px; color: var(--lp-muted); }
.lp-preview-note { margin-top: 16px !important; text-align: center; font-size: 13px; color: var(--lp-muted); word-break: keep-all; }
.lp-teacher-summary { display: grid; grid-template-columns: repeat(3,1fr); margin: 24px 0; padding-block: 15px; background: var(--lp-ivory); border-radius: 5px; }
.lp-teacher-summary > div { display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--lp-line); }
.lp-teacher-summary > div:last-child { border: 0; }
.lp-teacher-summary span { font-size: 13px; color: var(--lp-muted); }
.lp-teacher-summary strong { font-size: 25px; font-weight: 500; color: var(--lp-brown); }
.lp-teacher-summary small { font-size: 13px; margin-left: 4px; }
.leesam-landing .lp-preview-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.7; }
.lp-preview-table caption { text-align: left; margin-bottom: 12px; font-size: 13px; color: var(--lp-muted); }
.lp-preview-table :is(th,td) { text-align: left; border-bottom: 1px solid var(--lp-line); padding: 12px 3px; font-weight: 400; }
.lp-preview-table thead { color: var(--lp-muted); }
/* Static public report: assignment metrics mirror the existing student/PDF report. */
.lp-report { background: var(--lp-white); border-block: 1px solid var(--lp-line); }
.lp-report-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.lp-report-benefits { list-style: none; padding: 0; margin: 28px 0 0; }
.lp-report-benefits li { padding: 15px 0; border-top: 1px solid var(--lp-line); }
.lp-report-benefits h3 { font-size: 15px; font-weight: 500; }
.lp-report-benefits p { margin-top: 6px; color: var(--lp-muted); font-size: 14px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.lp-report-preview { min-width: 0; }
.lp-report-panel { background: var(--lp-ivory); border: 1px solid var(--lp-line); border-radius: 10px; overflow: hidden; }
.lp-report-body { padding: 28px; }
.lp-report-body h3 { margin-top: 7px; font-size: 20px; font-weight: 500; }
.lp-report-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 25px 0 28px; gap: 12px; }
.lp-report-metrics > div { min-width: 0; border-left: 1px solid var(--lp-line); padding-left: 12px; }
.lp-report-metrics > div:first-child { border: 0; padding-left: 0; }
.lp-report-metrics dt { color: var(--lp-muted); font-size: 13px; }
.lp-report-metrics dd { margin: 6px 0; font-size: 30px; font-weight: 500; line-height: 1.3; color: var(--lp-brown); }
.lp-report-metrics small { font-size: 14px; font-weight: 400; margin-left: 4px; }
.lp-report-metrics dd span { display: block; margin-top: 6px; color: var(--lp-muted); font-size: 12px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
.lp-report-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.7; }
.lp-report-table caption { text-align: left; margin-bottom: 13px; font-size: 14px; font-weight: 500; }
.lp-report-table :is(th,td) { padding: 14px 6px; border-bottom: 1px solid var(--lp-line); text-align: right; font-weight: 400; }
.lp-report-table tr > :first-child { text-align: left; }
.lp-report-table thead { color: var(--lp-muted); font-size: 13px; }
.lp-report-body .lp-report-summary { margin-top: 20px; font-size: 14px; }
.lp-report-summary strong { color: var(--lp-brown); margin-left: 8px; font-weight: 500; }
.lp-report-summary span { display: block; margin-top: 8px; font-size: 13px; color: var(--lp-muted); }
@media (max-width: 1100px) {
  .lp-report-grid { gap: 40px; }
}
@media (max-width: 800px) {
  .lp-report-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .lp-report-body { padding: 22px 18px; }
  .lp-report-body h3 { font-size: 18px; }
  .lp-report-metrics { gap: 8px; }
  .lp-report-metrics > div { padding-left: 8px; }
  .lp-report-metrics dt { font-size: 12px; }
  .lp-report-metrics dd { font-size: 27px; }
  .lp-report-table :is(th,td) { padding-inline: 3px; }
}
.lp-academy { background: var(--lp-white); border-top: 1px solid var(--lp-line); }
.lp-academy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lp-1lee-location-info { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--lp-line); }
.lp-1lee-location-info h3 { font-size: 21px; margin: 0 0 18px; }
.lp-1lee-location-info dl { display: grid; gap: 20px; margin: 20px 0 0; }
.lp-1lee-location-info dl > div { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 16px; align-items: baseline; font-size: 17px; line-height: 1.9; }
.lp-1lee-location-info dt { color: var(--lp-muted); font-size: 14px; font-weight: 500; }
.lp-1lee-location-info dd { margin: 0; overflow-wrap: anywhere; }
.lp-1lee-location-info address { font-style: normal; }
.lp-1lee-phone { display: inline-flex; align-items: baseline; min-height: 44px; color: var(--lp-brown); text-decoration: underline; text-underline-offset: 4px; }
.lp-1lee-map { margin-top: 24px; }
.lp-cta { background: var(--lp-beige); padding-block: 75px; }
.lp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.lp-cta h2 { font-size: clamp(25px,2.4vw,32px); }
.lp-cta .lp-section-label { margin-bottom: 12px !important; }
.lp-cta p:last-child { margin-top: 15px; color: #65594B; font-size: 16px; }
.lp-cta .lp-button { flex-shrink: 0; }
.lp-footer { background: var(--lp-ivory); padding-block: 38px; }
.lp-footer-inner { display: flex; align-items: center; gap: 35px; }
.lp-footer p { font-size: 12px; color: var(--lp-muted); }
.lp-footer-inner > a:last-child { margin-left: auto; display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 12px; color: var(--lp-brown); }
.landing-return { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; color: #73604D; font-size: 13px; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .lp-container { width: calc(100% - 64px); }
  .lp-header-inner { gap: 24px; }
  .lp-desktop-nav { gap: 24px; }
  .lp-hero-grid { gap: 35px; }
  .lp-hero-description { font-size: 17px; }
  .lp-wide-break { display: none; }
  .lp-direction-grid, .lp-learning-grid, .lp-academy-grid { gap: 55px; }
  .lp-program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lp-program-card { padding: 28px; }
  .lp-notebook-title { font-size: 39px; }
}
@media (max-width: 800px) {
  .lp-header-inner { height: 76px; gap: 16px; }
  .lp-desktop-nav { display: none; }
  .lp-header-login { margin-left: auto; }
  .lp-menu { display: block; }
  .lp-menu summary { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; cursor: pointer; list-style: none; padding: 11px; }
  .lp-menu summary::-webkit-details-marker { display: none; }
  .lp-menu summary span { height: 1px; background: var(--lp-brown); width: 22px; }
  .lp-menu nav { position: absolute; top: 75px; left: 0; right: 0; padding: 15px 32px 24px; background: var(--lp-ivory); border-bottom: 1px solid var(--lp-line); box-shadow: 0 10px 15px rgb(75 59 40 / 4%); }
  .lp-menu nav a { display: flex; align-items: center; min-height: 48px; font-size: 15px; }
  .lp-hero-grid { grid-template-columns: minmax(0,1fr); padding-block: 62px 50px; gap: 55px; }
  .leesam-landing .lp-hero h1 { font-size: 49px; }
  .lp-notebook { width: 360px; max-width: calc(100% - 30px); }
  .lp-notebook-page { min-height: 419px; }
  .lp-hero-bottom > span:first-child { display: none; }
  .lp-section { padding-block: 80px; }
  .lp-direction-grid, .lp-learning-grid, .lp-academy-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
  .lp-section-heading > p br { display: none; }
  .lp-learning-grid { gap: 42px; }
  .lp-preview-area { max-width: 570px; width: 100%; }
  .lp-preview { min-height: 445px; }
  .lp-cta-inner { align-items: flex-start; flex-direction: column; gap: 26px; }
  .lp-cta { padding-block: 58px; }
  .lp-footer-inner { flex-wrap: wrap; gap: 15px 25px; }
  .lp-footer p { order: 3; width: 100%; }
  .leesam-landing :is(main,section,header)[id] { scroll-margin-top: 92px; }
}
@media (max-width: 480px) {
  .lp-container { width: calc(100% - 40px); }
  .lp-header-inner { gap: 7px; height: 70px; }
  .lp-wordmark { font-size: 22px; }
  .lp-wordmark > span { font-size: 15px; margin-left: 3px; }
  .lp-brand { gap: 7px; }
  .lp-brand-mark { width: 56px; height: 56px; margin-inline: -7px; }
  .lp-header-login { padding: 7px 9px; font-size: 11px; gap: 3px; border: 0; }
  .lp-header-login svg { width: 17px; height: 17px; }
  .lp-menu nav { top: 69px; padding-inline: 20px; }
  .lp-hero-grid { padding-top: 51px; padding-bottom: 43px; gap: 43px; }
  .lp-eyebrow { font-size: 12px; }
  .leesam-landing .lp-hero h1 { font-size: clamp(34px, 10.4vw, 43px); margin-block: 0 22px; line-height: 1.5; }
  .lp-hero-description { font-size: 16px; line-height: 1.9; }
  .lp-actions { gap: 10px; margin-top: 27px; }
  .lp-button { padding: 13px 16px; gap: 10px; font-size: 12px; min-height: 50px; }
  .lp-hero-note { font-size: 13px; margin-top: 21px !important; }
  .lp-notebook { max-width: calc(100% - 24px); width: 305px; }
  .lp-notebook-page { padding: 25px 26px; min-height: 384px; }
  .lp-notebook-title { font-size: 35px; margin-top: 23px !important; }
  .lp-notebook-meta { font-size: 9px; }
  .lp-notebook-rule { margin-block: 20px 16px; }
  .lp-hero-bottom { gap: 15px; padding-block: 14px; }
  .lp-hero-bottom > span:nth-child(2) { gap: 10px; font-size: 10px; }
  .lp-hero-bottom a { font-size: 8px; gap: 8px; }
  .lp-section { padding-block: 65px; }
  .lp-section-label { margin-bottom: 17px !important; font-size: 11px; }
  .leesam-landing h2 { font-size: 27px; }
  .lp-section-description { font-size: 16px; margin-top: 18px !important; }
  .lp-direction-list li { gap: 20px; padding-block: 23px; }
  .lp-direction-list h3 { font-size: 16px; }
  .lp-direction-list p { font-size: 13px; }
  .lp-program-grid { grid-template-columns: 1fr; gap: 13px; }
  .lp-program-card { padding: 24px; }
  .lp-program-mark { height: 22px; margin-block: 14px 21px; }
  .lp-program-card > p { margin-bottom: 23px; }
  .lp-feature-list li { font-size: 14px; gap: 12px; }
  .lp-preview-controls button { padding-inline: 13px; font-size: 12px; }
  .lp-preview-controls > span { font-size: 10px; }
  .lp-preview-header { padding: 15px 17px; }
  .lp-preview-body { padding: 21px 17px; }
  .lp-preview h3 { font-size: 16px; }
  .lp-assignment-row { gap: 9px; }
  .lp-assignment-row p { font-size: 12px; }
  .lp-status { font-size: 11px; padding: 4px 5px; }
  .lp-preview { min-height: 432px; }
  .lp-preview-result small { display: block; margin-left: 0; text-align: right; }
  .lp-preview-note { text-align: left; font-size: 12px; }
  .lp-1lee-map { width: 100%; justify-content: center; }
  .lp-cta h2 { font-size: 25px; }
  .lp-cta p:last-child { font-size: 15px; }
  .lp-footer { padding-block: 30px; }
  .leesam-landing :is(main,section,header)[id] { scroll-margin-top: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .leesam-landing *, .leesam-landing *::before, .leesam-landing *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* 1lee history: original-colour photos, two identical groups, one 35s linear cycle. */
.lp-1lee-history { background: var(--lp-beige); }
.lp-1lee-heading { max-width: 720px; margin-bottom: 38px; }
.lp-1lee-heading .lp-section-description { color: #65594B; max-width: 620px; }
.lp-1lee-viewport { overflow: clip; padding: 6px 0; scrollbar-width: none; }
.lp-1lee-track { display: flex; width: max-content; animation: lp-1lee-film 35s linear infinite; }
.lp-1lee-group { display: flex; flex: 0 0 auto; gap: 20px; padding-right: 20px; }
.lp-1lee-photo { display: block; flex: 0 0 auto; width: clamp(236px,30vw,380px); padding: 10px; border: 1px solid #BDAE99; border-radius: 7px; background: var(--lp-ivory); text-align: left; }
.lp-1lee-photo.lp-1lee-wide { width: clamp(260px,40vw,480px); }
.lp-1lee-photo img { display: block; width: 100%; height: clamp(200px,22vw,280px); object-fit: contain; image-orientation: from-image; filter: none; }
.lp-1lee-photo > span { display: flex; align-items: center; gap: 12px; padding: 14px 5px 4px; color: #65594B; font-size: 14px; }
.lp-1lee-photo > span > span:first-child { font-size: 10px; }
.lp-1lee-photo > span > span:last-child { margin-left: auto; font-size: 16px; }
.lp-1lee-history[data-1lee-paused] .lp-1lee-track { animation-play-state: paused !important; }
@keyframes lp-1lee-film { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lp-1lee-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.lp-1lee-controls p { margin-right: auto; color: #65594B; font-size: 13px; }
.lp-1lee-select { display: flex; gap: 4px; }
.lp-1lee-controls button { min-width: 44px; min-height: 44px; border: 1px solid #8A7762; border-radius: 4px; background: transparent; color: var(--lp-brown); font-size: 12px; }
.lp-1lee-select button:hover, .lp-1lee-controls button[aria-pressed="true"] { background: var(--lp-ivory); }
.lp-1lee-pause { padding: 9px 14px; }

.leesam-landing .lp-1lee-dialog { width: min(1120px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid var(--lp-brown); border-radius: 9px; background: var(--lp-ivory); color: var(--lp-ink); }
.lp-1lee-dialog[open] { display: flex; flex-direction: column; gap: 16px; }
.lp-1lee-dialog::backdrop { background: rgb(48 45 41 / 72%); }
.lp-1lee-dialog-header { display: flex; gap: 14px; justify-content: space-between; align-items: center; }
.leesam-landing .lp-1lee-dialog h2 { font: 500 18px/1.6 var(--font-sans); letter-spacing: -.03em; }
.lp-1lee-close { flex-shrink: 0; display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #8A7762; border-radius: 4px; background: transparent; font-size: 13px; }
.lp-1lee-close span { font-size: 20px; }
.lp-1lee-dialog > img { display: block; min-height: 0; width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; image-orientation: from-image; }
.lp-1lee-dialog > p { font-size: 13px; color: var(--lp-muted); }
body.leesam-landing:has(.lp-1lee-dialog[open]) { overflow: hidden; }
@media (max-width: 480px) {
  .lp-1lee-heading { margin-bottom: 28px; }
  .lp-1lee-group { gap: 16px; padding-right: 16px; }
  .lp-1lee-controls p { flex-basis: 100%; }
  .lp-1lee-pause { padding-inline: 10px; }
  .leesam-landing .lp-1lee-dialog { padding: 14px; }
  .leesam-landing .lp-1lee-dialog h2 { font-size: 15px; }
}
/* Explicit product exception: this film runs in both motion preferences.
   Only its own button pauses it; other landing motion rules stay unchanged. */
@media (prefers-reduced-motion: reduce) {
  .leesam-landing .lp-1lee-track { animation: lp-1lee-film 35s linear infinite !important; }
}

/* Header contact and location film share the established landing palette. */
.lp-header-inner { gap: 20px; }
.lp-desktop-nav { gap: 30px; white-space: nowrap; }
.lp-header-phone { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; color: var(--lp-brown) !important; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 801px) and (max-width: 1200px) {
  .lp-desktop-nav { display: none; }
  .lp-header-login { margin-left: auto; }
  .lp-menu { display: block; }
  .lp-menu summary { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; cursor: pointer; list-style: none; padding: 11px; }
  .lp-menu summary span { height: 1px; background: var(--lp-brown); width: 22px; }
  .lp-menu nav { position: absolute; top: 100%; left: 0; right: 0; padding: 15px 32px 24px; background: var(--lp-ivory); border-bottom: 1px solid var(--lp-line); }
  .lp-menu nav a { display: flex; align-items: center; min-height: 48px; font-size: 15px; }
}
@media (max-width: 800px) {
  .lp-header-inner { display: grid; grid-template-columns: 1fr auto auto; height: auto; gap: 0 8px; padding-block: 6px; }
  .lp-header-phone { grid-column: 1 / -1; grid-row: 2; justify-self: start; font-size: 20px; }
  .lp-header-login { margin-left: 0; }
  .lp-menu nav { top: 100%; }
  .leesam-landing :is(main,section,header)[id] { scroll-margin-top: 144px; }
}
@media (max-width: 480px) {
  .lp-1lee-location-info dl > div { grid-template-columns: 68px minmax(0,1fr); gap: 12px; font-size: 16px; }
  .lp-1lee-location-info dt { font-size: 13px; }
}

/* Location: stable current/next cards, independent of the history film. */
.lp-1lee-location-gallery { min-width: 0; }
.lp-1lee-location-photos { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 16px; align-items: end; }
.lp-1lee-location-photos figure { min-width: 0; margin: 0; padding: 8px; border: 1px solid var(--lp-line); border-radius: 7px; background: var(--lp-ivory); }
.lp-1lee-location-photos figcaption { padding: 12px 3px 4px; font-size: 13px; line-height: 1.6; color: var(--lp-muted); }
.lp-1lee-gallery-frame { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.lp-1lee-gallery-frame img { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; border-radius: 2px; }
.lp-1lee-gallery-frame .lp-1lee-gallery-outgoing { position: absolute; inset: 0; }
.lp-1lee-gallery-controls { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 16px; color: var(--lp-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp-1lee-gallery-controls button { min-width: 44px; min-height: 44px; border: 1px solid var(--lp-line); border-radius: 4px; background: var(--lp-ivory); color: var(--lp-brown); cursor: pointer; }
.lp-1lee-gallery-controls [data-1lee-gallery-toggle] { padding-inline: 10px; }
@media (max-width: 480px) {
  .lp-1lee-location-photos { gap: 10px; }
  .lp-1lee-location-photos figure { padding: 5px; }
  .lp-1lee-gallery-controls { gap: 12px; }
}
