/* The story landing is scoped to the customer home panel. The footer keeps its existing rules. */
#panel-home.story-home { padding-top: 20px; }
#panel-home .story-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 18px; align-items: stretch; }
#panel-home .story-hero, #panel-home .story-philosophy { min-width: 0; background: #fffcf7; border: 1px solid #e7dfd1; border-radius: 20px; box-shadow: 0 11px 30px #4b443517; overflow: hidden; }
#panel-home .story-hero { position: relative; min-height: 570px; padding: clamp(27px,4vw,52px); display: flex; flex-direction: column; isolation: isolate; }
#panel-home .story-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 80% 42%,#e8eee6,transparent 30%),#fffcf7; }
#panel-home .story-eyebrow { color: #8e7144; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
#panel-home .story-hero h1, #panel-home .story-philosophy h2 { font-family: var(--serif); font-size: clamp(26px,2.55vw,34px); font-weight: 700; line-height: 1.35; letter-spacing: normal; }
#panel-home .story-hero h1 { margin: 19px 0 20px; color: #182822; }
#panel-home .story-lead, #panel-home .story-philosophy p strong { font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.75; letter-spacing: normal; }
#panel-home .story-lead { max-width: 355px; color: #4b594d; }
#panel-home .story-lead span { display: block; }
#panel-home .story-lead span + span { margin-top: 12px; }
#panel-home .story-book { position: absolute; width: clamp(135px,16vw,190px); height: clamp(205px,23vw,280px); right: 5%; top: 37%; z-index: -1; transform: rotate(4deg); border-radius: 12px 17px 16px 10px; background: linear-gradient(115deg,#315a4d,#23483d 68%,#1b3b32); box-shadow: 16px 23px 28px #1c352933,inset 10px 0 12px #456e5d,inset 0 0 0 1px #557c6a; }
#panel-home .story-book::before { content: ""; position: absolute; inset: 13px 12px 13px 18px; border: 1px solid #7d9a83; border-radius: 6px 14px 13px 5px; opacity: .85; }
#panel-home .story-book-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; color: #f5efe2; font-family: var(--serif); font-size: 19px; letter-spacing: .1em; text-align: center; }
#panel-home .story-book-copy small { margin-top: 6px; font: 9px var(--sans); letter-spacing: .2em; }
#panel-home .story-bottom { position: relative; z-index: 1; margin-top: auto; }
#panel-home .story-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#panel-home .story-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 22px; border-radius: 11px; background: #284e42; color: white; font-size: 14px; font-weight: 800; line-height: 1.4; box-shadow: 0 7px 16px #294c3d25; transition: background-color .18s,color .18s,transform .18s; }
#panel-home .story-cta:hover { background: #173e34; transform: translateY(-2px); }
#panel-home .story-cta-secondary { min-height: 42px; padding: 8px 15px; background: #e4ede5; color: #1e4035; font-size: 13px; font-weight: 700; box-shadow: none; }
#panel-home .story-cta-secondary:hover { background: #cdded0; color: #102f27; }
#panel-home .story-trust { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
#panel-home .story-trust span { border: 1px solid #e3e2d9; border-radius: 999px; padding: 7px 12px; background: white; color: #697067; font-size: 11px; }
#panel-home .story-philosophy-copy .story-trust { margin-top: 18px; }
#panel-home .story-philosophy { display: flex; flex-direction: column; }
#panel-home .story-philosophy img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: center 56%; border-bottom: 1px solid #ded8c9; }
#panel-home .story-philosophy-copy { padding: 28px clamp(25px,3vw,43px) 32px; }
#panel-home .story-philosophy h2 { margin: 18px 0 14px; color: #1e4035; }
#panel-home .story-philosophy p { margin: 0 0 13px; color: #4b594d; font-size: 15px; line-height: 1.75; }
#panel-home .story-philosophy p:last-child { margin-bottom: 0; }
#panel-home .story-closing { margin: 0 0 16px; padding: 10px 12px 16px; background: #fffcf7; text-align: center; }
#panel-home .story-closing h2 { margin: 0; color: #1e4035; font-family: var(--serif); font-size: clamp(24px,2.6vw,32px); font-weight: 650; line-height: 1.4; letter-spacing: -.035em; }
#panel-home .story-closing h2 span { color: #9e7b4b; }
#panel-home .story-closing p { margin: 16px 0 0; color: #667066; font-size: 14px; line-height: 1.7; }
@media(max-width:950px) { #panel-home .story-grid { grid-template-columns: 1fr 1fr; gap: 12px; } #panel-home .story-hero { padding: 29px; } #panel-home .story-book { width: 120px; height: 175px; right: 3%; top: 42%; } #panel-home .story-philosophy img { height: 205px; } #panel-home .story-philosophy-copy { padding: 24px; } }
@media(max-width:720px) { #panel-home .story-grid { grid-template-columns: 1fr; } #panel-home .story-hero { min-height: 570px; padding: 30px; } #panel-home .story-lead { max-width: 75%; } #panel-home .story-book { width: 135px; height: 195px; top: 44%; right: 5%; } #panel-home .story-philosophy img { height: 260px; } }
@media(max-width:440px) { #panel-home.story-home { padding-top: 10px; } #panel-home .story-hero { min-height: 700px; padding: 24px; } #panel-home .story-lead { max-width: 100%; } #panel-home .story-book { position: relative; align-self: center; width: 105px; height: 153px; top: auto; right: auto; margin: 0 0 28px; z-index: 0; } #panel-home .story-book-copy { font-size: 14px; } #panel-home .story-book-copy small { font-size: 6px; } #panel-home .story-actions { gap: 8px; } #panel-home .story-cta { padding: 9px 14px; font-size: 13px; } #panel-home .story-cta-secondary { min-height: 39px; padding: 7px 10px; font-size: 12px; } #panel-home .story-trust span { font-size: 10px; padding: 6px 9px; } #panel-home .story-philosophy img { height: 210px; } }
@media(prefers-reduced-motion:reduce) { #panel-home .story-cta { transition: none; } }
