/* Stories: open editorial layouts, using the site's existing Figtree and purple. */
.stories-page,.story-detail{--story-lime:#d9ef78;--story-paper:#f5f4f1;}
.story-hero{padding:64px 0 48px;background:var(--white);}
.story-hero .hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:42px;align-items:end;}
.story-label{font-size:14px;font-weight:550;color:var(--sub);margin:0 0 22px;}
.story-hero h1{font-size:clamp(54px,6.3vw,88px);letter-spacing:-.05em;line-height:1.02;font-weight:500;max-width:900px;}
.story-hero h1 span{color:var(--accent);display:block;}
.story-hero .hero-aside{padding-bottom:8px;}
.story-hero .hero-aside p{font-size:17px;line-height:1.5;color:var(--sub);}
.story-asterisk{display:inline-block;font-size:70px;line-height:1;color:var(--accent);transform:rotate(-12deg);margin-bottom:24px;transition:transform .5s;}
.hero-aside:hover .story-asterisk{transform:rotate(48deg);}
.featured-story{padding:0 0 68px;}
.featured-link{display:grid;grid-template-columns:1.45fr 1fr;min-height:385px;text-decoration:none;background:var(--accent);color:#fff;overflow:hidden;}
.featured-media{position:relative;overflow:hidden;background:var(--story-paper);min-width:0;}
.featured-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .65s;}
.featured-media .cover-note{position:absolute;bottom:16px;left:20px;background:#fffffff0;padding:5px 10px;color:var(--ink);font-size:11px;line-height:1.5;}
.featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:42px;}
.featured-copy .story-kind{color:#e4d5fa;}
.featured-copy h2{font-size:clamp(31px,3.15vw,44px);letter-spacing:-.025em;margin:26px 0 20px;max-width:380px;line-height:1.12;color:#fff;}
.featured-copy p{font-size:16px;line-height:1.6;color:#f2ebfc;max-width:370px;}
.featured-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;gap:24px;margin-top:30px;font-size:14px;font-weight:550;color:#fff;}
.story-arrow{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--story-lime);color:var(--ink);font-size:24px;flex:0 0 auto;transition:transform .25s;}
.featured-link:hover img{transform:scale(1.025);}
.featured-link:hover .story-arrow,.story-card-link:hover .card-arrow{transform:rotate(45deg);}
.story-kind{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:600;line-height:1.4;}
.story-kind .kind-dot{width:5px;height:5px;border-radius:50%;background:currentColor;}
.story-library{padding:0 0 88px;scroll-margin-top:100px;}
.library-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:28px;}
.library-title-row h2{font-size:34px;font-weight:500;margin:0;letter-spacing:-.025em;}
.library-title-row p{font-size:13px;color:var(--sub);margin:0;}
.library-tools{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:36px;}
.story-filters{display:flex;flex-wrap:wrap;gap:8px;}
.story-filter{appearance:none;border:1px solid transparent;border-radius:30px;background:transparent;padding:11px 19px;color:var(--sub);cursor:pointer;font-size:14px;line-height:1.4;min-height:44px;}
.story-filter[aria-pressed=true]{background:var(--ink);color:#fff;}
.story-filter:hover:not([aria-pressed=true]){background:var(--accent-soft);color:var(--accent);}
.story-filter span{font-size:11px;margin-left:7px;opacity:.8;}
.story-topic{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--sub);}
.story-topic select,.page-jump select{appearance:auto;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:3px;min-height:44px;padding:9px 28px 9px 12px;max-width:100%;font-size:14px;cursor:pointer;}
.story-topic select:focus-visible,.page-jump select:focus-visible{outline:3px solid var(--accent);outline-offset:3px;}
.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 36px;}
.story-card{min-width:0;}
.story-card[hidden],.story-pagination[hidden],.story-empty[hidden]{display:none!important;}
.story-card-link{display:block;text-decoration:none;color:var(--ink);height:100%;}
.story-card-image{overflow:hidden;position:relative;aspect-ratio:1.72;background:var(--story-paper);}
.story-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.story-card[data-topic=design-renovation][data-type=blog] .story-card-image img{object-fit:contain;}
.story-card-link:hover img{transform:scale(1.025);}
.preview-badge{display:inline-flex;align-items:center;gap:7px;background:#fffffff2;border:1px solid #ffffff80;padding:6px 10px;font-size:11px;font-weight:500;color:var(--ink);line-height:1.3;}
.story-card-image .preview-badge{position:absolute;left:16px;bottom:16px;}
.story-card-copy{padding:23px 0 26px;border-bottom:1px solid var(--line);}
.story-card-copy .story-kind{color:var(--accent);font-weight:550;}
.story-card-heading{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-top:15px;}
.story-card-heading h3{font-size:30px;font-weight:500;letter-spacing:-.025em;line-height:1.17;max-width:470px;margin:0 0 17px;}
.card-arrow{color:var(--accent);font-size:27px;line-height:1;transition:transform .25s;}
.story-card-copy>p{font-size:16px;color:var(--sub);line-height:1.55;max-width:510px;margin:0;}
.story-pagination{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:44px;}
.page-buttons{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.page-button{border:1px solid transparent;background:transparent;color:var(--ink);border-radius:3px;min-width:44px;min-height:44px;padding:8px 12px;font-size:14px;cursor:pointer;}
.page-button[aria-current=page]{background:var(--accent);color:#fff;}
.page-button:hover:not(:disabled):not([aria-current=page]){border-color:var(--line);background:var(--tint);}
.page-button:disabled{color:#77737e;cursor:default;opacity:.6;}
.page-jump{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--sub);}
.story-empty{padding:60px 20px;text-align:center;background:var(--tint);}
.story-empty h3{font-size:28px;font-weight:500;}
.story-empty p{color:var(--sub);font-size:16px;}
.story-preview-note{font-size:12px;color:var(--sub);border-top:1px solid var(--line);padding-top:20px;margin-top:36px;}
.stories-closing{background:var(--story-paper);padding:58px 0;}
.stories-closing>.wrap{display:flex;align-items:center;justify-content:space-between;gap:36px;}
.stories-closing h2{font-size:38px;font-weight:500;letter-spacing:-.035em;margin:0 0 12px;}
.stories-closing p{color:var(--sub);font-size:16px;}
.stories-closing .pill{white-space:nowrap;}
/* Detail pages */
.article-hero{padding:66px 0 44px;}
.article-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--accent);margin-bottom:25px;}
.article-meta .preview-badge{background:var(--accent-soft);color:var(--accent);border:0;}
.article-hero h1{font-size:clamp(44px,5.8vw,78px);letter-spacing:-.045em;line-height:1.06;max-width:1000px;font-weight:500;margin-bottom:26px;}
.article-deck{font-size:21px;line-height:1.5;color:var(--sub);max-width:760px;}
.article-cover{margin-bottom:54px;}
.article-cover img{width:100%;max-height:590px;aspect-ratio:2.15;object-fit:cover;}
.story-detail[data-story-type=blog] .article-cover.plan-cover img{object-fit:contain;background:var(--story-paper);}
.article-cover figcaption{font-size:12px;color:var(--sub);margin-top:12px;}
.article-layout{display:grid;grid-template-columns:250px minmax(0,740px);gap:100px;justify-content:space-between;padding-bottom:70px;}
.article-sidebar{position:sticky;top:110px;align-self:start;}
.article-sidebar,.article-content{min-width:0;}
.article-sidebar h2{font-size:15px;letter-spacing:0;font-weight:600;margin:0 0 24px;}
.project-facts{margin:0 0 38px;}
.project-facts>div{border-top:1px solid var(--line);padding:13px 0;}
.project-facts dt{font-size:12px;color:var(--sub);margin-bottom:4px;}
.project-facts dd{font-size:15px;margin:0;color:var(--ink);}
.article-toc{display:grid;gap:12px;}
.article-toc a{font-size:14px;color:var(--sub);text-decoration:none;line-height:1.45;}
.article-toc a:hover{color:var(--accent);}
.article-content .article-section{padding:0 0 32px;margin-bottom:34px;border-bottom:1px solid var(--line);scroll-margin-top:110px;}
.article-section .section-number{display:block;color:var(--accent);font-size:12px;margin-bottom:16px;}
.article-content h2{font-size:34px;letter-spacing:-.025em;font-weight:500;margin:0 0 22px;}
.article-content p{font-size:18px;line-height:1.8;color:var(--sub);}
.article-content .article-checklist{font-size:18px;line-height:1.7;color:var(--sub);padding-left:1.25em;margin:22px 0 0;}
.article-checklist li+li{margin-top:12px;}
@media(max-width:600px){.article-content .article-checklist{font-size:16px;}}
.article-content .article-context{font-size:16px;color:var(--ink);margin:0 0 38px;}
.article-content .article-source{font-size:14px;line-height:1.6;margin:0 0 32px;}
.article-source a{text-underline-offset:3px;}
.article-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:24px;}
.article-links .small-link{font-size:15px;min-height:44px;}
.article-cta{padding:32px;background:var(--tint);margin:0 0 38px;}
.article-cta h2{font-size:30px;line-height:1.15;}
.article-cta p{font-size:16px;line-height:1.6;}
.template-note{border-left:3px solid var(--accent);background:var(--accent-soft);padding:18px 22px;margin-bottom:36px;font-size:14px;color:var(--sub);}
.template-note strong{display:block;color:var(--ink);margin-bottom:5px;}
.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0 12px;}
.placeholder-image{aspect-ratio:1.4;background:var(--story-paper);border:1px dashed #c8c3cc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;text-align:center;}
.placeholder-image span{font-size:30px;font-weight:300;color:#9d91b0;}
.placeholder-image p{font-size:13px;color:var(--sub);line-height:1.5;}
.customer-voice{background:var(--story-paper);padding:36px;margin-bottom:40px;}
.customer-voice .quote-mark{font-size:68px;color:var(--accent);line-height:.8;display:block;}
.customer-voice p{font-size:25px;line-height:1.4;color:var(--ink);margin:16px 0;}
.customer-voice span:last-child{font-size:13px;color:var(--sub);}
.article-back{font-size:15px;display:inline-flex;align-items:center;gap:14px;text-decoration:none;min-height:44px;}
.related-stories{padding:60px 0 80px;border-top:1px solid var(--line);}
.related-stories h2{font-size:36px;font-weight:500;letter-spacing:-.025em;margin:0 0 32px;}
/* Home entry: integrated with the existing page, not a new card directory. */
.home-journal{border-top:1px solid var(--line);}
.home-journal .journal-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:38px;}
.home-journal h2{font-weight:500;letter-spacing:-.025em;margin:0;font-size:44px;}
.home-journal .journal-heading>a{white-space:nowrap;}
.home-journal .story-card-heading h3{font-size:28px;}
@media(max-width:1100px){.story-hero .hero-grid{grid-template-columns:minmax(0,1fr) 220px;gap:28px;}.story-hero h1{font-size:clamp(54px,6.8vw,76px);}.featured-copy{padding:32px;}.featured-copy h2{font-size:36px;}.article-layout{gap:60px;grid-template-columns:220px minmax(0,1fr);}}
@media(max-width:800px){.story-hero{padding:46px 0 38px;}.story-hero .hero-grid{grid-template-columns:1fr;gap:25px;}.hero-aside{display:flex;align-items:center;gap:24px;max-width:570px;}.story-asterisk{font-size:50px;margin:0;}.story-hero h1{font-size:64px;}.featured-link{grid-template-columns:1.1fr 1fr;min-height:355px;}.featured-copy{padding:27px;}.featured-copy h2{font-size:31px;margin:19px 0;}.featured-copy p{font-size:14px;}.featured-bottom{margin-top:24px;}.library-tools{align-items:flex-start;flex-direction:column;gap:16px;}.story-topic{align-self:flex-end;}.story-grid{gap:32px 24px;}.story-card-heading h3{font-size:26px;}.story-card-copy>p{font-size:15px;}.article-layout{grid-template-columns:1fr;gap:35px;}.article-sidebar{position:static;}.project-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin-bottom:25px;}.article-toc{display:flex;flex-wrap:wrap;gap:12px 20px;border-bottom:1px solid var(--line);padding-bottom:24px;}.article-cover img{aspect-ratio:1.7;}.stories-closing h2{font-size:32px;}.home-journal h2{font-size:36px;}}
@media(max-width:600px){.story-hero{padding:36px 0 30px;}.story-label{font-size:13px;margin-bottom:20px;}.story-hero h1{font-size:clamp(42px,10.5vw,61px);letter-spacing:-.045em;}.story-hero .hero-aside p{font-size:15px;}.story-asterisk{font-size:42px;}.featured-story{padding-bottom:45px;}.featured-link{display:flex;flex-direction:column;}.featured-media{aspect-ratio:1.6;}.featured-copy{padding:28px 25px;}.featured-copy h2{font-size:34px;max-width:350px;}.featured-copy p{font-size:15px;}.featured-media .cover-note{font-size:10px;left:14px;bottom:12px;}.featured-bottom{margin-top:24px;}.story-kind{font-size:11px;}.library-title-row{align-items:start;gap:12px;margin-bottom:20px;}.library-title-row h2{font-size:28px;}.library-title-row p{max-width:110px;text-align:right;font-size:11px;}.library-tools{padding:15px 0;gap:14px;margin-bottom:26px;}.story-filters{gap:2px;width:100%;}.story-filter{font-size:12px;padding:10px 12px;}.story-filter span{margin-left:4px;font-size:10px;}.story-topic{align-self:stretch;justify-content:space-between;}.story-topic select{max-width:240px;font-size:13px;}.story-grid{grid-template-columns:1fr;gap:30px;}.story-card-heading h3{font-size:28px;}.story-card-copy{padding-top:20px;padding-bottom:23px;}.story-card-image{aspect-ratio:1.6;}.story-pagination{flex-direction:column;align-items:stretch;gap:20px;margin-top:28px;}.page-buttons{justify-content:center;gap:4px;}.page-button{font-size:12px;padding:8px 10px;}.page-jump{justify-content:center;}.story-library{padding-bottom:50px;}.story-preview-note{font-size:11px;margin-top:28px;}.stories-closing{padding:40px 0;}.stories-closing>.wrap{display:block;}.stories-closing h2{font-size:32px;}.stories-closing p{font-size:15px;}.stories-closing .pill{margin-top:24px;}.article-hero{padding:36px 0 30px;}.article-meta{gap:10px;margin-bottom:22px;font-size:12px;}.article-hero h1{font-size:44px;}.article-deck{font-size:18px;}.article-cover{margin-bottom:35px;}.article-cover img{aspect-ratio:1.5;}.article-cover figcaption{font-size:10px;}.article-content h2{font-size:29px;}.article-content p{font-size:16px;}.article-content .article-section{scroll-margin-top:22px;}.template-note{font-size:13px;padding:16px 18px;}.project-gallery{gap:12px;}.placeholder-image{padding:12px;}.placeholder-image p{font-size:11px;}.customer-voice{padding:26px;}.customer-voice p{font-size:23px;}.article-layout{padding-bottom:42px;}.related-stories{padding:40px 0 50px;}.related-stories h2{font-size:30px;}.home-journal .journal-heading{display:block;}.home-journal h2{font-size:34px;}.home-journal .journal-heading>a{margin-top:18px;}}
@media(prefers-reduced-motion:reduce){.story-asterisk,.story-card img,.featured-media img,.story-arrow,.card-arrow{transition:none!important;transform:none!important;}}

.library-tools[hidden]{display:none!important;}
.article-download-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:34px 0;padding:24px 0;border-top:1px solid #e5e3e9;border-bottom:1px solid #e5e3e9;}
.article-content .article-download-card h2{font-size:22px;margin:0 0 8px;letter-spacing:-.02em;}
.article-content .article-download-card p{font-size:15px;margin:0;color:#66636d;}
.article-download-card .pill{flex-shrink:0;max-width:100%;white-space:normal;text-align:center;}
@media(max-width:800px){.article-download-card{align-items:flex-start;flex-direction:column;gap:16px;}.article-content .article-download-card h2{font-size:21px;}}
