/* Hallmark · macrostructure: complete visual index · genre: modern-minimal · tone: precise · theme: existing Rely editorial system
 * scope: homepage only · pre-emit critique: P5 H5 E5 S5 R5 V5 · slop: pass · mobile: pass (320, 375, 414, 768)
 */

.page-home{
  --lh-paper:#f3eee4;
  --lh-ink:#17251f;
  --lh-ink-soft:#44514b;
  --lh-blue:#4457d2;
  --lh-blue-dark:#3143b7;
  --lh-yellow:#f2c84b;
  --lh-coral:#e36f59;
  --lh-sage:#8eaf9a;
  --lh-lilac:#e8e8f4;
  --lh-line:#c9c6bc;
  --lh-white:#fffdf8;
  --lh-art-paper:#f2e8d8;
  --lh-sans:"DM Sans",Arial,sans-serif;
  background:var(--lh-paper);
  color:var(--lh-ink);
}

.page-home .site-header{
  background:rgba(243,238,228,.96);
  border-bottom:1px solid rgba(23,37,31,.12);
  box-shadow:none;
}
.page-home .header-inner{max-width:1220px}
.page-home .brand{font-family:var(--lh-sans);color:var(--lh-ink)}
.page-home .brand span{font-family:var(--lh-sans);font-weight:700;letter-spacing:-.06em}
.page-home .brand i{color:var(--lh-blue)}
.page-home .nav-trigger{min-height:44px;font-family:var(--lh-sans);font-size:.8rem;color:var(--lh-ink-soft)}
.page-home .nav-trigger:hover,.page-home .nav-trigger[aria-expanded="true"]{background:rgba(23,37,31,.06);color:var(--lh-ink)}
.page-home .header-actions .btn-primary,.page-home .mobile-nav>.btn-primary{
  min-height:44px;background:var(--lh-ink);color:var(--lh-white);border-color:var(--lh-ink);box-shadow:none;
}
.page-home .menu-toggle{width:44px;height:44px}
.page-home .header-actions .btn-primary:hover,.page-home .mobile-nav>.btn-primary:hover{background:#26382f;color:var(--lh-white)}
.page-home .mega{font-family:var(--lh-sans)}
.page-home .mega-inner{background:var(--lh-paper);border-color:var(--lh-line);box-shadow:8px 10px 0 rgba(23,37,31,.1)}
.page-home .mega-list a:hover{background:rgba(68,87,210,.07)}

.landing-home{font-family:var(--lh-sans);overflow:hidden}
.landing-home *{box-sizing:border-box}
.landing-home .wrap{width:100%;max-width:1180px;margin-inline:auto}
.landing-home h1,.landing-home h2,.landing-home h3{font-family:var(--lh-sans);color:inherit;letter-spacing:-.055em}
.landing-home p{font-family:var(--lh-sans)}
.landing-home a{text-decoration:none}

.lh-eyebrow{
  margin:0 0 1.75rem;
  color:inherit;
  font-size:.72rem;font-weight:700;line-height:1;
  letter-spacing:.16em;text-transform:uppercase;
}
.lh-eyebrow::before{display:none}
.lh-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  min-height:48px;padding:.78rem 1.35rem;border:1.5px solid transparent;border-radius:999px;
  font-family:var(--lh-sans);font-size:.92rem;font-weight:650;line-height:1;white-space:nowrap;
  transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease;
}
.lh-btn svg,.lh-text-link svg,.lh-choice-card>span svg{width:18px;height:18px;flex:none}
.lh-btn:hover{transform:translateY(-2px)}
.lh-btn-blue{background:var(--lh-blue);color:white}
.lh-btn-blue:hover{background:var(--lh-blue-dark);color:white}
.lh-btn-paper{background:var(--lh-paper);color:var(--lh-ink);border-color:var(--lh-paper)}
.lh-btn-paper:hover{background:var(--lh-white);color:var(--lh-ink)}
.lh-btn-outline{border-color:rgba(23,37,31,.65);color:var(--lh-ink)}
.lh-btn-outline:hover{border-color:var(--lh-ink);background:rgba(23,37,31,.08);color:var(--lh-ink)}
.lh-text-link{
  display:inline-flex;align-items:center;gap:.4rem;margin-top:2rem;
  color:var(--lh-blue-dark);font-weight:700;font-size:.92rem;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.28em;
}
.lh-text-link:hover{color:var(--lh-blue)}

/* Hero */
.lh-hero{padding:clamp(4rem,7vw,7.5rem) 0 clamp(4rem,6vw,6.5rem);background:var(--lh-paper)}
.lh-hero h1{
  max-width:12.2ch;margin:0;
  font-size:clamp(3.9rem,7.6vw,7.6rem);font-weight:560;line-height:.89;
  text-wrap:balance;
}
.lh-hero h1>span,.lh-hero h1 strong{display:block}
.lh-hero h1 strong{font-weight:560;color:var(--lh-blue)}
.lh-hero-foot{
  display:grid;grid-template-columns:minmax(0,420px) auto;align-items:center;
  gap:clamp(1.5rem,5vw,5rem);margin-top:clamp(2.5rem,4vw,4rem);
}
.lh-hero-foot p{margin:0;color:var(--lh-ink-soft);font-size:clamp(1.05rem,1.4vw,1.25rem);line-height:1.52}
.lh-hero-foot .lh-btn{justify-self:start}
.lh-boundary{
  max-width:75ch;margin:1.4rem 0 0;padding-top:1rem;border-top:1px solid rgba(23,37,31,.16);
  color:#58635e;font-size:.78rem;line-height:1.55;
}
.lh-boundary strong{color:var(--lh-ink);font-weight:700}

/* Hallmark 2026-08-22 — illustration and section are one surface. */
.lh-mini-art{display:block;width:100%;min-width:0;background:transparent}
.lh-mini-art img{display:block;width:100%;height:auto;object-fit:contain}

/* Between-visits path */
.lh-bridge{padding:1.4rem 0 2.2rem;background:var(--lh-art-paper);border-top:1px solid rgba(23,37,31,.08)}
.lh-bridge-figure{position:relative;margin:0}
.lh-bridge-picture,.lh-bridge-picture img{display:block;width:100%;height:auto}
.lh-bridge-exception{position:absolute;color:var(--lh-ink-soft);font-size:.76rem;font-weight:600;line-height:1;letter-spacing:.01em}
.lh-bridge-exception-first{left:23%;top:15%}
.lh-bridge-exception-second{right:7%;top:70%}
.lh-bridge-labels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr);gap:1rem;align-items:start;margin-top:.35rem;color:var(--lh-ink-soft);font-size:.68rem;font-weight:700;line-height:1.3;letter-spacing:.13em;text-transform:uppercase}
.lh-bridge-labels strong{color:var(--lh-blue);font-weight:700;text-align:center}
.lh-bridge-labels span:last-child{text-align:right}

/* The decision hinge */
.lh-choice{padding:clamp(4.2rem,7vw,7rem) 0;background:var(--lh-ink);color:var(--lh-paper)}
.lh-choice h2{max-width:13ch;margin:0 0 clamp(2.4rem,4vw,4rem);font-size:clamp(3.2rem,6vw,6rem);font-weight:500;line-height:.95}
.lh-choice-grid{display:grid;grid-template-columns:1fr 1fr;border-radius:24px;overflow:hidden}
.lh-choice-card{min-height:390px;padding:clamp(2rem,4vw,3.4rem);display:flex;flex-direction:column;color:var(--lh-ink)}
.lh-choice-card h3{max-width:9ch;margin:0 0 1rem;font-size:clamp(2.15rem,3.4vw,3.5rem);font-weight:600;line-height:.96}
.lh-choice-card p{max-width:34ch;margin:0;color:currentColor;font-size:1rem;line-height:1.5;opacity:.82}
.lh-choice-card .lh-mini-art{margin:auto 0 1.4rem;max-width:390px}
.lh-choice-card>span{display:inline-flex;align-items:center;gap:.35rem;font-size:.9rem;font-weight:700}
.lh-choice-simple,.lh-choice-simple:visited{background:var(--lh-yellow);color:var(--lh-ink)}
.lh-choice-complex,.lh-choice-complex:visited{background:var(--lh-blue);color:white}
.lh-choice-simple:hover,.lh-choice-simple:focus-visible,.lh-choice-simple:active{color:var(--lh-ink)}
.lh-choice-complex:hover,.lh-choice-complex:focus-visible,.lh-choice-complex:active{background:var(--lh-blue-dark);color:white}
.lh-choice-card:hover>span{text-decoration:underline;text-underline-offset:.25em}

/* Workflow sections */
.lh-work{padding:clamp(4.5rem,7vw,7rem) 0}
.lh-work-simple{background:var(--lh-paper)}
.lh-work-complex{background:var(--lh-lilac)}
.lh-work h2{max-width:11ch;margin:0;font-size:clamp(3.35rem,6vw,6.2rem);font-weight:520;line-height:.91}
.lh-section-intro{max-width:46ch;margin:1.5rem 0 0;color:var(--lh-ink-soft);font-size:1.05rem;line-height:1.58}
.lh-work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:3.5rem}
.lh-work-card{
  min-width:0;padding:1.35rem 1.25rem 1.25rem;
  color:var(--lh-ink);background:rgba(255,253,248,.56);
  border:1.5px solid rgba(23,37,31,.23);border-radius:18px;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.lh-work-simple .lh-work-card{background:rgba(243,238,228,.48)}
.lh-work-card:visited,.lh-journey-feature:visited,.lh-journey-row:visited{color:var(--lh-ink)}
.lh-work-card:hover{transform:translateY(-4px);background:var(--lh-white);box-shadow:8px 10px 0 rgba(23,37,31,.1);color:var(--lh-ink)}
.lh-work-card .lh-mini-art{margin:0 0 1.15rem}
.lh-work-card h3{margin:0 0 .55rem;font-size:clamp(1.25rem,1.7vw,1.6rem);font-weight:650;line-height:1.05;letter-spacing:-.035em}
.lh-work-card p{margin:0;min-height:4.7em;color:var(--lh-ink-soft);font-size:.9rem;line-height:1.55}
.lh-state{
  display:block;margin-top:1.1rem;padding-top:.8rem;border-top:1px solid rgba(23,37,31,.12);
  color:var(--lh-ink-soft);font-size:.66rem;font-weight:700;line-height:1.35;letter-spacing:.12em;text-transform:uppercase;
}

/* Complex journeys use one anchor case plus a compact ledger, not another card wall. */
.lh-journey-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(20rem,.65fr);gap:clamp(2rem,4vw,4.5rem);margin-top:3.5rem}
.lh-journey-feature{display:grid;align-content:start;min-width:0;padding:clamp(1.5rem,3vw,2.5rem);color:var(--lh-ink);background:rgba(255,253,248,.62);border:1.5px solid rgba(23,37,31,.23);border-radius:18px;transition:transform .18s cubic-bezier(.16,1,.3,1),box-shadow .18s cubic-bezier(.16,1,.3,1),background .18s cubic-bezier(.16,1,.3,1)}
.lh-journey-feature:hover{transform:translateY(-4px);background:var(--lh-white);box-shadow:8px 10px 0 rgba(23,37,31,.1);color:var(--lh-ink)}
.lh-journey-feature:active{transform:translateY(0)}
.lh-journey-feature .lh-mini-art{width:100%;margin:0 0 clamp(1.5rem,3vw,2.5rem)}
.lh-journey-feature h3,.lh-journey-row h3{margin:0;font-weight:650;line-height:1.05;letter-spacing:-.035em}
.lh-journey-feature h3{font-size:clamp(1.8rem,3vw,3rem)}
.lh-journey-feature p,.lh-journey-row p{color:var(--lh-ink-soft);line-height:1.5}
.lh-journey-feature p{max-width:42ch;margin:.7rem 0 0;font-size:1rem}
.lh-journey-ledger{border-block:1px solid rgba(23,37,31,.23)}
.lh-journey-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(7rem,9rem);gap:1rem;align-items:center;padding:1.15rem 0;color:var(--lh-ink);border-bottom:1px solid rgba(23,37,31,.18)}
.lh-journey-row:last-child{border-bottom:0}
.lh-journey-row:hover h3{text-decoration:underline;text-underline-offset:.2em}
.lh-journey-row h3{font-size:clamp(1.2rem,1.6vw,1.5rem)}
.lh-journey-row p{margin:.35rem 0 0;font-size:.84rem}
.lh-journey-row .lh-state{margin-top:.7rem;padding-top:.55rem;font-size:.58rem}
.lh-journey-row .lh-mini-art{width:100%;grid-column:2;grid-row:1}

/* Operating method */
.lh-method{padding:clamp(4.5rem,7vw,7rem) 0;background:#f5e8bd;color:var(--lh-ink)}
.lh-method h2{max-width:11ch;margin:0;font-size:clamp(3.35rem,6vw,6rem);font-weight:520;line-height:.92}
.lh-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,4vw,4rem);margin-top:3.6rem}
.lh-method-step{position:relative;padding-top:3.6rem}
.lh-method-number{position:absolute;top:0;left:0;color:var(--lh-coral);font-size:2.7rem;font-weight:700;line-height:1}
.lh-method-step:nth-child(2) .lh-method-number{color:var(--lh-coral)}
.lh-method-step:nth-child(3) .lh-method-number{color:var(--lh-blue)}
.lh-method-step .lh-mini-art{margin-bottom:1.1rem}
.lh-method-step h3{margin:0 0 .7rem;font-size:clamp(1.4rem,2vw,1.8rem);font-weight:650;line-height:1.05}
.lh-method-step p{margin:0;color:var(--lh-ink-soft);font-size:.94rem;line-height:1.58}
.lh-method-boundary{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-top:3.2rem;padding-top:1.5rem;border-top:1px solid rgba(23,37,31,.18)}
.lh-method-boundary p{max-width:68ch;margin:0;color:var(--lh-ink-soft);font-size:.82rem;line-height:1.55}
.lh-method-boundary .lh-text-link{flex:none;margin:0}

/* Proof */
.lh-proof{padding:clamp(4.8rem,7vw,7.5rem) 0;background:var(--lh-ink);color:var(--lh-paper)}
.lh-proof .lh-eyebrow{color:var(--lh-yellow)}
.lh-proof-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr);gap:2rem;align-items:end}
.lh-proof h2{max-width:8ch;margin:0;font-size:clamp(3.5rem,6.4vw,6.5rem);font-weight:520;line-height:.9}
.lh-proof-head>p{max-width:42ch;margin:0;color:#b9c2bd;font-size:1rem;line-height:1.6}
.lh-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:3.6rem}
.lh-proof-card{padding:2rem 0 0;border-top:1px solid rgba(255,255,255,.24)}
.lh-proof-value{margin:0 0 .65rem;color:var(--lh-yellow);font-size:clamp(3.7rem,7vw,7rem);font-weight:650;line-height:.86;letter-spacing:-.065em}
.lh-proof-card h3{margin:0 0 .8rem;color:var(--lh-paper);font-size:1.25rem;font-weight:650;letter-spacing:-.025em}
.lh-proof-card>p:not(.lh-proof-value):not(.lh-proof-source){max-width:52ch;margin:0;color:#bdc5c0;font-size:.92rem;line-height:1.55}
.lh-proof-status{display:inline-block;margin-top:1.3rem;padding:.4rem .65rem;border:1px solid rgba(242,200,75,.52);border-radius:999px;color:var(--lh-yellow);font-size:.64rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.lh-proof-source{max-width:64ch;margin:1rem 0 0;color:#8f9b95;font-size:.72rem;line-height:1.55}
.lh-text-link-light{color:var(--lh-paper)}
.lh-text-link-light:hover{color:var(--lh-yellow)}

/* Close */
.lh-close{
  width:100vw;max-width:none;margin-inline:calc(50% - 50vw);
  padding:clamp(4.6rem,7vw,7rem) 0;background:var(--lh-coral);color:var(--lh-ink);
}
.lh-close h2{max-width:12ch;margin:0;font-size:clamp(3.7rem,7vw,7rem);font-weight:530;line-height:.9}
.lh-close>div>p:not(.lh-eyebrow){max-width:47ch;margin:1.5rem 0 0;color:var(--lh-ink);font-size:1.1rem;line-height:1.55}
.lh-close-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}

/* Footer becomes the last dark band in the same story. */
.page-home .site-footer{margin-top:0;background:var(--lh-ink);font-family:var(--lh-sans)}
.page-home .site-footer .brand{color:var(--lh-paper)}
.page-home .site-footer .brand span{color:var(--lh-paper)}
.page-home .site-footer .brand i{color:var(--lh-blue)}
.page-home .foot-label{color:var(--lh-yellow)}
.page-home .site-footer a{font-family:var(--lh-sans)}

/* Accessibility */
.landing-home a:focus-visible{
  outline:3px solid var(--lh-coral);outline-offset:4px;border-radius:8px;
}
.lh-choice a:focus-visible,.lh-proof a:focus-visible{outline-color:var(--lh-yellow)}
.lh-close a:focus-visible{outline-color:var(--lh-ink)}

@media (max-width:980px){
  .lh-hero h1{font-size:clamp(3.5rem,10vw,6.5rem)}
  .lh-choice-card{min-height:340px}
  .lh-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lh-work-card p{min-height:0}
  .lh-journey-layout{grid-template-columns:1fr}
  .lh-journey-ledger{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .lh-journey-row{grid-template-columns:1fr;padding:1.25rem 1rem;align-content:start}
  .lh-journey-row+.lh-journey-row{border-left:1px solid rgba(23,37,31,.18)}
  .lh-journey-row .lh-mini-art{grid-column:1;grid-row:1;margin-bottom:.6rem}
  .lh-method-grid{gap:1.5rem}
}

@media (max-width:720px){
  .lh-hero{padding:3.5rem 0 3.2rem}
  .lh-hero h1{min-width:0;max-width:100%;font-size:clamp(3rem,13vw,5.2rem);line-height:.91;overflow-wrap:anywhere}
  .lh-hero-foot{grid-template-columns:1fr;margin-top:2.25rem;gap:1.25rem}
  .lh-hero-foot .lh-btn{width:max-content}
  .lh-boundary{font-size:.74rem}
  .lh-bridge{padding:1.25rem 0 1.75rem}
  .lh-bridge-figure{max-width:32rem;margin-inline:auto}
  .lh-bridge-exception{font-size:.68rem}
  .lh-bridge-exception-first{left:2%;top:21%}
  .lh-bridge-exception-second{right:0;top:71%}
  .lh-bridge-labels{gap:.45rem;margin-top:.65rem;font-size:.52rem;letter-spacing:.08em}
  .lh-choice h2,.lh-work h2,.lh-method h2,.lh-proof h2,.lh-close h2{font-size:clamp(3rem,13vw,4.8rem)}
  .lh-choice-grid{grid-template-columns:1fr}
  .lh-choice-card{min-height:320px}
  .lh-choice-complex{border-top:1px solid rgba(255,255,255,.22)}
  .lh-work-grid{
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
    gap:.85rem;margin-inline:-.75rem;padding:0 .75rem 1.15rem;
    scrollbar-color:rgba(23,37,31,.35) transparent;
  }
  .lh-work-card{flex:0 0 min(82vw,330px);scroll-snap-align:start}
  .lh-journey-layout{gap:1.5rem}
  .lh-journey-feature{padding:1.35rem}
  .lh-journey-ledger{display:block}
  .lh-journey-row{grid-template-columns:minmax(0,1fr) 88px;padding:1rem 0}
  .lh-journey-row+.lh-journey-row{border-left:0}
  .lh-journey-row .lh-mini-art{grid-column:2;grid-row:1;margin:0}
  .lh-method-grid{grid-template-columns:1fr;gap:2.5rem}
  .lh-method-step{display:grid;grid-template-columns:1fr;max-width:520px}
  .lh-method-step .lh-mini-art{max-width:360px}
  .lh-method-boundary{align-items:flex-start;flex-direction:column}
  .lh-proof-head{grid-template-columns:1fr;align-items:start}
  .lh-proof-grid{grid-template-columns:1fr}
}

@media (max-width:420px){
  .lh-hero h1{font-size:clamp(2.55rem,11.5vw,2.8rem);text-wrap:wrap}
  .lh-choice,.lh-work,.lh-method,.lh-proof,.lh-close{padding-block:3.7rem}
  .lh-choice-card{padding:1.6rem;min-height:295px}
  .lh-choice-card h3{font-size:2.25rem}
  .lh-btn{width:100%}
  .lh-close-actions{display:grid;grid-template-columns:1fr}
  .lh-proof-value{font-size:3.8rem}
}

@media (prefers-reduced-motion:reduce){
  .lh-btn,.lh-work-card{transition:none}
  .lh-btn:hover,.lh-work-card:hover{transform:none}
}

@media print{
  .lh-bridge .wrap,.lh-work-grid{overflow:visible}
  .lh-bridge-picture img{width:100%}
  .lh-work-grid{display:grid;grid-template-columns:repeat(2,1fr)}
  .lh-work-card{break-inside:avoid}
  .lh-choice,.lh-proof,.page-home .site-footer{background:#fff;color:#000}
  .lh-choice-card{border:1px solid #000}
  .lh-proof-value,.lh-proof .lh-eyebrow,.page-home .foot-label{color:#000}
}
