/* ==========================================================================
   Loft & Lie — stylesheet
   Precision-instrument palette (ink navy + brass). System serif (display) +
   system grotesque (body) — system fonts only, no CDN.
   Plain CSS, no framework, no build step. Class prefix: lal-
   ========================================================================== */

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---- Tokens --------------------------------------------------------------*/
:root {
  --lal-paper:      #F7F4EC;
  --lal-paper-deep: #EFE9D9;
  --lal-paper-line: #DFD6BC;
  --lal-ink:        #182635;
  --lal-ink-soft:   #4C5B6E;
  --lal-navy:       #1B2C40;
  --lal-navy-mid:   #24405C;
  --lal-navy-deep:  #101B29;
  --lal-brass:      #B8823F;
  --lal-brass-deep: #8F631F;
  --lal-brass-soft: #E4C692;
  --lal-white:      #FFFFFF;
  --lal-line-dark:  rgba(247, 244, 236, 0.16);

  --lal-font-display: Cambria, 'Hoefler Text', 'Liberation Serif', 'Times New Roman', serif;
  --lal-font-body: 'Trebuchet MS', 'Segoe UI', Verdana, Tahoma, sans-serif;

  --lal-radius: 2px;
  --lal-shadow: 0 10px 26px -14px rgba(16, 27, 41, 0.45);
  --lal-max: 1180px;
}

/* ---- Base ----------------------------------------------------------------*/
html { scroll-behavior: smooth; }
body.lal-body {
  font-family: var(--lal-font-body);
  background: var(--lal-paper);
  color: var(--lal-ink);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
.lal-main { display: block; overflow-x: hidden; }
.lal-skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--lal-navy); color: var(--lal-white); padding: 12px 18px;
}
.lal-skip:focus { left: 12px; top: 12px; }

h1, h2, h3, h4 { font-family: var(--lal-font-display); font-weight: 700; color: var(--lal-ink); line-height: 1.18; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { color: var(--lal-ink-soft); }

.lal-shell { max-width: var(--lal-max); margin: 0 auto; padding: 0 24px; }
.lal-text-center { text-align: center; }

/* ---- Buttons ---------------------------------------------------------- */
.lal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--lal-font-body); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.02em; padding: 13px 24px; border-radius: var(--lal-radius);
  border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.lal-btn--solid { background: var(--lal-brass); color: var(--lal-navy-deep); border-color: var(--lal-brass); }
.lal-btn--solid:hover { background: var(--lal-brass-deep); border-color: var(--lal-brass-deep); transform: translateY(-1px); }
.lal-btn--line { background: transparent; color: var(--lal-navy); border-color: var(--lal-navy); }
.lal-btn--line:hover { background: var(--lal-navy); color: var(--lal-white); }
.lal-btn--outline-light { background: transparent; color: var(--lal-white); border-color: var(--lal-line-dark); }
.lal-btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--lal-white); }
.lal-btn--dark { background: var(--lal-navy); color: var(--lal-white); border-color: var(--lal-navy); }
.lal-btn--dark:hover { background: var(--lal-navy-deep); }
.lal-btn--block { display: flex; width: 100%; }

/* ---- Nav / Header ------------------------------------------------------- */
.lal-nav {
  background: var(--lal-navy); color: var(--lal-white); position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--lal-brass);
}
.lal-nav__row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 20px; }
.lal-brand { display: flex; align-items: center; gap: 12px; }
.lal-brand__mark {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 2px solid var(--lal-brass); color: var(--lal-brass); font-family: var(--lal-font-display);
  font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.lal-brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.lal-brand__name { font-family: var(--lal-font-display); font-weight: 700; font-size: 1.22rem; color: var(--lal-white); }
.lal-brand__tag { font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lal-brass-soft); }

.lal-menu-toggle { display: none; flex-direction: column; align-items: center; gap: 4px; color: var(--lal-white); }
.lal-menu-toggle__bars { display: flex; flex-direction: column; gap: 4px; }
.lal-menu-toggle__bars span { width: 22px; height: 2px; background: var(--lal-white); display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
.lal-menu-toggle.is-active .lal-menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lal-menu-toggle.is-active .lal-menu-toggle__bars span:nth-child(2) { opacity: 0; }
.lal-menu-toggle.is-active .lal-menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.lal-menu-toggle__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }

.lal-menu { display: flex; align-items: center; gap: 24px; }
.lal-menu__list { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lal-menu__item a { font-size: 0.88rem; font-weight: 600; color: var(--lal-white); opacity: 0.8; padding: 6px 0; border-bottom: 2px solid transparent; }
.lal-menu__item a:hover, .lal-menu__item.is-current a { opacity: 1; border-color: var(--lal-brass); }
.lal-menu__meta { display: flex; align-items: center; gap: 16px; font-size: 0.78rem; color: var(--lal-brass-soft); }
.lal-menu__cta { padding: 10px 18px; }

@media (max-width: 960px) {
  .lal-menu-toggle { display: flex; }
  .lal-menu {
    position: fixed; inset: 0; top: 74px; background: var(--lal-navy-deep);
    flex-direction: column; align-items: flex-start; padding: 28px 24px;
    transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto;
  }
  .lal-menu.is-open { transform: translateX(0); }
  .lal-menu__list { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .lal-menu__meta { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 24px; width: 100%; }
  .lal-menu__cta { width: 100%; }
}

/* ---- Hero ---------------------------------------------------------------*/
.lal-hero {
  background: var(--lal-navy);
  background-image:
    linear-gradient(180deg, rgba(16,27,41,0.94), rgba(16,27,41,0.98)),
    repeating-linear-gradient(0deg, rgba(184,130,63,0.05) 0, rgba(184,130,63,0.05) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(90deg, rgba(184,130,63,0.05) 0, rgba(184,130,63,0.05) 1px, transparent 1px, transparent 42px);
  color: var(--lal-white); padding: 62px 0 76px; position: relative;
}
.lal-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.lal-hero__eyebrow { display: inline-block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lal-brass-soft); margin-bottom: 14px; }
.lal-hero h1 { color: var(--lal-white); margin-bottom: 18px; }
.lal-hero h1 em { color: var(--lal-brass); font-style: normal; }
.lal-hero__lede { font-size: 1.06rem; max-width: 560px; color: rgba(247,244,236,0.82); margin-bottom: 28px; }
.lal-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.lal-hero-panel {
  background: var(--lal-paper); color: var(--lal-ink); border: 1px solid var(--lal-paper-line);
  padding: 26px; box-shadow: var(--lal-shadow);
}
.lal-hero-panel__head {
  display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px;
  margin-bottom: 14px; border-bottom: 1px solid var(--lal-paper-line);
  font-family: var(--lal-font-display); font-weight: 700; font-size: 0.98rem;
}
.lal-hero-panel__live { font-family: var(--lal-font-body); font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lal-brass-deep); background: var(--lal-brass-soft); padding: 4px 8px; }
.lal-spec-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--lal-paper-line); font-size: 0.94rem; }
.lal-spec-row:last-child { border-bottom: none; }
.lal-spec-row span:last-child { font-family: var(--lal-font-display); font-weight: 700; }

@media (max-width: 860px) {
  .lal-hero__grid { grid-template-columns: 1fr; }
}

/* ---- Reading strip -------------------------------------------------------*/
.lal-strip { background: var(--lal-paper-deep); border-bottom: 1px solid var(--lal-paper-line); padding: 12px 0; overflow: hidden; }
.lal-strip__track { display: flex; gap: 28px; align-items: center; font-size: 0.85rem; color: var(--lal-ink-soft); white-space: nowrap; overflow-x: auto; }
.lal-strip__item span { color: var(--lal-brass-deep); }
.lal-strip__dot { color: var(--lal-paper-line); }

/* ---- Metrics -------------------------------------------------------------*/
.lal-metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 0; }
.lal-metric { text-align: center; border-left: 1px solid var(--lal-paper-line); padding-left: 20px; }
.lal-metric:first-child { border-left: none; padding-left: 0; }
.lal-metric__num { display: block; font-family: var(--lal-font-display); font-size: 2rem; font-weight: 700; color: var(--lal-brass-deep); }
.lal-metric__label { font-size: 0.82rem; color: var(--lal-ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 720px) {
  .lal-metric-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .lal-metric:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ---- Sections --------------------------------------------------------- */
.lal-section { padding: 66px 0; }
.lal-section--tint { background: var(--lal-paper-deep); }
.lal-section--deep { background: var(--lal-navy); color: var(--lal-white); }
.lal-section--deep h2, .lal-section--deep h3 { color: var(--lal-white); }
.lal-section--deep p { color: rgba(247,244,236,0.78); }

.lal-kicker { display: inline-block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lal-brass-deep); margin-bottom: 10px; font-weight: 700; }
.lal-section--deep .lal-kicker { color: var(--lal-brass-soft); }
.lal-heading-block { max-width: 640px; margin-bottom: 38px; }
.lal-heading-block--center { margin-left: auto; margin-right: auto; text-align: center; }
.lal-heading-block p { margin-top: 12px; }

.lal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lal-cols--rev { direction: rtl; }
.lal-cols--rev > * { direction: ltr; }
@media (max-width: 860px) { .lal-cols { grid-template-columns: 1fr; } }

/* ---- Panels / cards ------------------------------------------------------*/
.lal-panel-grid { display: grid; gap: 22px; }
.lal-panel-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lal-panel-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .lal-panel-grid--3, .lal-panel-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lal-panel-grid--3, .lal-panel-grid--4 { grid-template-columns: 1fr; } }

.lal-panel {
  background: var(--lal-white); border: 1px solid var(--lal-paper-line); padding: 26px;
  border-top: 3px solid var(--lal-brass);
}
.lal-section--tint .lal-panel { background: var(--lal-paper); }
.lal-panel--flush { padding: 22px; border-top: 3px solid var(--lal-brass); }
.lal-panel__num { display: block; font-family: var(--lal-font-display); font-size: 1.4rem; font-weight: 700; color: var(--lal-brass-deep); margin-bottom: 8px; }
.lal-panel h3 { margin-bottom: 10px; }
.lal-panel p { font-size: 0.95rem; }
.lal-panel__link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.88rem; color: var(--lal-navy); border-bottom: 2px solid var(--lal-brass); }

/* ---- Compare / progress bars ---------------------------------------------*/
.lal-compare__row { margin-bottom: 18px; }
.lal-compare__row:last-child { margin-bottom: 0; }
.lal-compare__label { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.lal-compare__label strong { font-family: var(--lal-font-display); }
.lal-compare__track { height: 8px; background: var(--lal-paper-deep); border: 1px solid var(--lal-paper-line); }
.lal-compare__fill { height: 100%; background: var(--lal-brass); }
.lal-compare__fill--muted { background: #B7C0CC; }

/* ---- Steps -----------------------------------------------------------*/
.lal-steps { display: flex; flex-direction: column; gap: 26px; }
.lal-step { display: flex; gap: 18px; align-items: flex-start; }
.lal-step__mark {
  flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--lal-brass); color: var(--lal-brass); font-family: var(--lal-font-display); font-weight: 700;
}
.lal-section--deep .lal-step__mark { color: var(--lal-brass-soft); border-color: var(--lal-brass-soft); }

/* ---- Quotes ------------------------------------------------------------*/
.lal-quote { background: var(--lal-white); border: 1px solid var(--lal-paper-line); padding: 24px; border-top: 3px solid var(--lal-brass); }
.lal-section--deep .lal-quote { background: var(--lal-navy-mid); border-color: rgba(255,255,255,0.12); }
.lal-quote__stars { color: var(--lal-brass); letter-spacing: 2px; display: block; margin-bottom: 12px; }
.lal-quote p { font-size: 0.96rem; margin-bottom: 16px; }
.lal-section--deep .lal-quote p { color: rgba(247,244,236,0.9); }
.lal-quote__who { display: flex; align-items: center; gap: 10px; }
.lal-avatar { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--lal-navy); color: var(--lal-brass-soft); font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.lal-quote__who strong { display: block; font-size: 0.9rem; }
.lal-quote__who span { font-size: 0.78rem; color: var(--lal-ink-soft); }
.lal-section--deep .lal-quote__who span { color: rgba(247,244,236,0.6); }

/* ---- Brand tiles -----------------------------------------------------*/
.lal-brand-tile { text-align: center; background: var(--lal-white); border: 1px solid var(--lal-paper-line); padding: 20px 14px; }
.lal-brand-tile__mark { width: 52px; height: 52px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--lal-navy); font-family: var(--lal-font-display); font-weight: 700; color: var(--lal-navy); }
.lal-brand-tile strong { display: block; font-size: 0.96rem; margin-bottom: 2px; }
.lal-brand-tile__sub { font-size: 0.78rem; color: var(--lal-ink-soft); display: block; margin-bottom: 10px; }
.lal-brand-tile__bar { height: 5px; background: var(--lal-paper-deep); border: 1px solid var(--lal-paper-line); }
.lal-brand-tile__bar-fill { height: 100%; background: var(--lal-navy); }

/* ---- Table --------------------------------------------------------------*/
.lal-table-wrap { overflow-x: auto; border: 1px solid var(--lal-paper-line); background: var(--lal-white); }
.lal-table { min-width: 480px; }
.lal-table th, .lal-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--lal-paper-line); font-size: 0.92rem; }
.lal-table th { background: var(--lal-navy); color: var(--lal-white); font-family: var(--lal-font-display); font-weight: 700; }
.lal-table tbody tr:last-child td { border-bottom: none; }

/* ---- Pricing tickets ------------------------------------------------------*/
.lal-ticket { background: var(--lal-white); border: 1px solid var(--lal-paper-line); padding: 28px; border-top: 3px solid var(--lal-brass); }
.lal-ticket--feature { background: var(--lal-navy); color: var(--lal-white); border-top-color: var(--lal-brass); }
.lal-ticket--feature h3, .lal-ticket--feature p { color: var(--lal-white); }
.lal-ticket--feature .lal-price { color: var(--lal-brass-soft); }
.lal-price { font-family: var(--lal-font-display); font-size: 2.3rem; font-weight: 700; color: var(--lal-brass-deep); margin: 12px 0 10px; }
.lal-price span { font-family: var(--lal-font-body); font-size: 0.86rem; font-weight: 500; color: var(--lal-ink-soft); }
.lal-ticket--feature .lal-price span { color: rgba(247,244,236,0.65); }
.lal-ticket ul { margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.lal-ticket li { font-size: 0.9rem; padding-left: 18px; position: relative; }
.lal-ticket li::before { content: '—'; position: absolute; left: 0; color: var(--lal-brass); }
.lal-ticket--feature li { color: rgba(247,244,236,0.85); }

/* ---- Forms ---------------------------------------------------------------*/
.lal-form-card { background: var(--lal-white); border: 1px solid var(--lal-paper-line); padding: 30px; }
.lal-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .lal-field-row { grid-template-columns: 1fr; } }
.lal-field { margin-bottom: 16px; }
.lal-field label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 6px; }
.lal-field input, .lal-field select, .lal-field textarea {
  width: 100%; border: 1px solid var(--lal-paper-line); background: var(--lal-paper); padding: 11px 12px;
  border-radius: var(--lal-radius);
}
.lal-field input:focus, .lal-field select:focus, .lal-field textarea:focus { outline: 2px solid var(--lal-brass); outline-offset: 1px; }
.lal-form-note { font-size: 0.84rem; color: var(--lal-ink-soft); }

/* ---- Map / location panel -------------------------------------------------*/
.lal-map-panel {
  position: relative; height: 220px; background: var(--lal-navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  overflow: hidden; color: var(--lal-white);
}
.lal-map-panel--lg { height: 300px; }
.lal-map-panel__rings { position: absolute; width: 160px; height: 160px; border: 1px solid rgba(184,130,63,0.4); border-radius: 50%; }
.lal-map-panel__rings::before, .lal-map-panel__rings::after { content: ''; position: absolute; inset: -30px; border: 1px solid rgba(184,130,63,0.25); border-radius: 50%; }
.lal-map-panel__rings::after { inset: -60px; border-color: rgba(184,130,63,0.14); }
.lal-map-panel__pin { width: 12px; height: 12px; background: var(--lal-brass); border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 0 0 6px rgba(184,130,63,0.25); }
.lal-map-panel__label { font-weight: 700; font-size: 0.9rem; position: relative; z-index: 2; }
.lal-map-panel__coords { font-size: 0.76rem; color: var(--lal-brass-soft); position: relative; z-index: 2; }

/* ---- Checklist -------------------------------------------------------*/
.lal-checklist li { padding-left: 22px; position: relative; margin-bottom: 10px; font-size: 0.95rem; color: var(--lal-ink-soft); }
.lal-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--lal-brass-deep); font-weight: 700; }

/* ---- Post tag ----------------------------------------------------------*/
.lal-post-tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lal-brass-deep); background: var(--lal-brass-soft); padding: 4px 9px; margin-bottom: 12px; font-weight: 700; }

/* ---- CTA band -----------------------------------------------------------*/
.lal-cta-band { background: var(--lal-navy-deep); color: var(--lal-white); padding: 60px 0; text-align: center; }
.lal-cta-band__inner h2 { color: var(--lal-white); margin-bottom: 12px; }
.lal-cta-band__inner p { max-width: 560px; margin: 0 auto 26px; color: rgba(247,244,236,0.78); }
.lal-cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Page head ---------------------------------------------------------*/
.lal-page-head { background: var(--lal-paper-deep); padding: 52px 0 44px; border-bottom: 1px solid var(--lal-paper-line); }
.lal-crumb { display: inline-block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lal-brass-deep); font-weight: 700; margin-bottom: 10px; }
.lal-page-head h1 { margin-bottom: 14px; }
.lal-page-head__lede { max-width: 660px; font-size: 1.02rem; }

/* ---- Error page ----------------------------------------------------------*/
.lal-error { padding: 100px 0; text-align: center; }
.lal-error__code { display: block; font-family: var(--lal-font-display); font-size: clamp(3.6rem, 11vw, 6.5rem); font-weight: 700; color: var(--lal-brass); }

/* ---- Article -----------------------------------------------------------*/
.lal-article { max-width: 720px; margin: 0 auto; }
.lal-article h2 { margin: 34px 0 12px; }
.lal-article h2:first-child { margin-top: 0; }
.lal-article p { margin-bottom: 16px; font-size: 1rem; }
.lal-article blockquote { border-left: 3px solid var(--lal-brass); padding-left: 18px; font-style: italic; color: var(--lal-ink); margin: 24px 0; font-family: var(--lal-font-display); font-size: 1.08rem; }

/* ---- FAQ ------------------------------------------------------------*/
.lal-faq-group { max-width: 820px; }
.lal-faq-group h2 { margin-bottom: 16px; font-size: 1.25rem; }
.lal-faq-group + .lal-faq-group { margin-top: 38px; }
.lal-faq-item { background: var(--lal-white); border: 1px solid var(--lal-paper-line); padding: 18px 20px; margin-bottom: 12px; }
.lal-faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--lal-font-display); font-size: 1.02rem; }
.lal-faq-item p { margin-top: 12px; }

/* ---- Reveal-on-scroll -----------------------------------------------------*/
.lal-reveal { opacity: 1; transform: none; }
html.js-on .lal-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js-on .lal-reveal.is-visible { opacity: 1; transform: none; }

/* ---- Utility spacing ------------------------------------------------------*/
.lal-mt-lg { margin-top: 34px; }
