:root {
  --lhm-bg: #f7f4ee;
  --lhm-text: #111111;
  --lhm-muted: #6d6a64;
  --lhm-line: #d8d1c5;
  --lhm-soft: #eee8dc;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--lhm-bg);
  color: var(--lhm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.lhm-site { min-height: 100vh; background: var(--lhm-bg); }
.lhm-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px;
}
.lhm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lhm-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lhm-logo-image,
.lhm-logo-placeholder {
  width: var(--lhm-logo-desktop, 45px);
  height: var(--lhm-logo-desktop, 45px);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  border-radius: 999px;
}
.lhm-logo-placeholder {
  background: var(--lhm-text);
  color: var(--lhm-bg);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.lhm-brand-text { display: flex; flex-direction: column; min-width: 0; }
.lhm-title {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.lhm-tagline {
  margin-top: 4px;
  color: var(--lhm-muted);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.lhm-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: wrap;
}
.lhm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--lhm-line);
  border-radius: 999px;
  color: var(--lhm-muted);
  font-size: 14px;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.lhm-button:hover { border-color: var(--lhm-text); color: var(--lhm-text); background: rgba(255,255,255,.28); }
.lhm-button-icon { font-size: 13px; transform: translateY(-1px); }
.lhm-button-dashboard { color: var(--lhm-text); border-color: #bfb7aa; }
.lhm-button-login { background: rgba(255,255,255,.22); }

.lhm-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.lhm-hero-main { max-width: 1080px; }
.lhm-eyebrow {
  margin: 0 0 24px;
  color: var(--lhm-muted);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.lhm-headline {
  margin: 0;
  max-width: 1080px;
  font-size: clamp(52px, 8.2vw, 118px);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -0.065em;
}
.lhm-hero-side {
  max-width: 580px;
  justify-self: end;
}
.lhm-description {
  margin: 0;
  color: #5f5b54;
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: -0.015em;
}
.lhm-pillars {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--lhm-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lhm-pillar p { margin: 0; }
.lhm-pillar-number { color: var(--lhm-text); font-size: 14px; line-height: 1.3; }
.lhm-pillar-text { margin-top: 10px !important; color: var(--lhm-muted); font-size: 14px; line-height: 1.45; }
.lhm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--lhm-line);
  color: var(--lhm-muted);
  font-size: 14px;
  line-height: 1.5;
}
.lhm-footer p { margin: 0; }
.lhm-footer p:last-child { text-align: right; max-width: 620px; }

@media (max-width: 880px) {
  .lhm-screen { padding: 24px; }
  .lhm-logo-image,
  .lhm-logo-placeholder {
    width: var(--lhm-logo-mobile, 35px);
    height: var(--lhm-logo-mobile, 35px);
  }
  .lhm-title { font-size: 18px; }
  .lhm-tagline { font-size: 10px; letter-spacing: .18em; }
  .lhm-button-contact, .lhm-button-admin { display: none; }
  .lhm-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    align-content: center;
    padding: 48px 0;
  }
  .lhm-headline { font-size: clamp(44px, 13vw, 72px); }
  .lhm-hero-side { max-width: none; justify-self: auto; }
  .lhm-description { font-size: 18px; line-height: 1.65; }
  .lhm-pillars { grid-template-columns: 1fr; gap: 16px; }
  .lhm-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .lhm-footer p:last-child { text-align: left; }
}

@media (max-width: 520px) {
  .lhm-screen { padding: 20px; }
  .lhm-actions { gap: 8px; }
  .lhm-button { min-height: 36px; padding: 8px 12px; font-size: 13px; }
  .lhm-brand { gap: 10px; }
  .lhm-eyebrow { font-size: 12px; letter-spacing: .22em; }
}


/* Lee Holdings OS pages */
.lhm-os-page {
  background: var(--lhm-bg);
}
.lhm-os-shell {
  min-height: 100vh;
  padding: 32px;
  background: var(--lhm-bg);
  color: var(--lhm-text);
}
.lhm-os-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.lhm-os-card,
.lhm-login-card {
  border: 1px solid var(--lhm-line);
  background: rgba(255,255,255,.28);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(17,17,17,.06);
}
.lhm-os-card h1,
.lhm-login-card h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 500;
}
.lhm-os-card p,
.lhm-login-card p {
  color: var(--lhm-muted);
  line-height: 1.65;
}
.lhm-login-shell {
  display: grid;
  place-items: center;
  padding: 24px;
}
.lhm-login-card {
  width: min(100%, 520px);
}
.lhm-login-brand {
  margin-bottom: 48px;
}
.lhm-login-content form,
.lhm-os-card form {
  margin-top: 24px;
}
.lhm-login-content label,
.lhm-os-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--lhm-muted);
  font-size: 13px;
}
.lhm-login-content input[type="text"],
.lhm-login-content input[type="password"],
.lhm-os-card input[type="text"],
.lhm-os-card input[type="password"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--lhm-line);
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  color: var(--lhm-text);
}
.lhm-login-content input[type="submit"],
.lhm-os-card input[type="submit"] {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--lhm-text);
  border-radius: 999px;
  background: var(--lhm-text);
  color: var(--lhm-bg);
  cursor: pointer;
}

@media (max-width: 880px) {
  .lhm-os-shell { padding: 20px; }
  .lhm-os-header { align-items: flex-start; flex-direction: column; }
  .lhm-os-card, .lhm-login-card { border-radius: 22px; padding: 22px; }
}
