/* Editorial project stories and build notes share the portfolio's existing palette. */
.case-toc nav>p{font-size:9px;line-height:1.6;letter-spacing:.12em;text-transform:uppercase;color:#b4c1a5;margin-bottom:16px}
.note-code{margin:26px 0;min-width:0}.note-code figcaption{font-size:11px;line-height:1.7;color:#a8b59a;margin-top:12px}
.story-hero{padding-top:168px;padding-bottom:54px}
.story-kicker{color:var(--lime);font-size:10px;font-weight:600;line-height:1.7;letter-spacing:.16em;text-transform:uppercase;margin-bottom:24px}
.story-title{max-width:1050px;font-size:clamp(46px,6.2vw,88px);font-weight:500;line-height:1.08;letter-spacing:-.06em;text-wrap:balance;overflow-wrap:break-word}
.story-lede,.case-summary{max-width:750px;margin-top:28px;font-size:16px;line-height:1.85;color:#aeb5a9}
.story-breadcrumb,.story-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px;margin-bottom:30px;font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.story-breadcrumb a,.story-breadcrumbs a{color:#c3cabd}
.story-breadcrumb a:hover,.story-breadcrumbs a:hover{color:var(--lime)}
.story-index{padding-bottom:38px}
.story-section-title{font-size:clamp(25px,3vw,36px);line-height:1.25;margin-bottom:29px;letter-spacing:-.04em}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.story-grid>*{min-width:0}
.story-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:linear-gradient(150deg,rgba(207,225,183,.045),rgba(207,225,183,.012));transition:border-color .22s ease,background .22s ease}
.story-card:hover,.story-card:focus-within{border-color:rgba(210,246,90,.34);background-color:rgba(156,183,124,.025)}
.story-card-image{display:block;position:relative;overflow:hidden;flex-shrink:0;aspect-ratio:3/2;background:#151a13;border-bottom:1px solid var(--line)}
.story-card-image img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .55s cubic-bezier(.2,.65,.3,1)}
.story-card-image:hover img{transform:scale(1.025)}
.story-card-image:focus-visible{outline-offset:-4px}
.story-card-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0;padding:27px 25px 26px}
.story-card-meta{font-size:9px;line-height:1.8;letter-spacing:.065em;color:#afbd9b;margin-bottom:15px;overflow-wrap:anywhere}
.story-card-copy h3{font-size:25px;line-height:1.25;letter-spacing:-.04em;margin-bottom:14px;overflow-wrap:break-word}
.story-card-copy h3 a:hover{color:var(--lime)}
.story-card-copy>p:not(.story-card-meta){font-size:12px;line-height:1.9;color:#a6ada0;margin-bottom:24px}
.story-link{display:inline-flex;align-items:center;gap:11px;max-width:100%;min-height:36px;font-size:12px;font-weight:500;line-height:1.6;color:var(--lime);border-bottom:1px solid transparent;transition:color .2s,border-color .2s;overflow-wrap:anywhere}
.story-link svg{width:16px;height:16px}
.story-link:hover{border-bottom-color:var(--lime);color:#e1ff85}
.story-card-copy>.story-link{margin-top:auto}
.story-featured{padding-bottom:36px}
.story-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:26px 50px;margin-bottom:38px}
.story-heading-row>div{min-width:0}
.story-heading-row h2{max-width:700px}
.story-heading-row>p,.story-heading-row>div>p{max-width:360px;font-size:13px;line-height:1.8}
.story-heading-row>.story-link{flex-shrink:0}
.story-featured-note{display:flex;align-items:center;justify-content:space-between;gap:22px 40px;padding:25px 0;margin-top:29px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.story-featured-note>p,.story-featured-note>div>p{max-width:750px;font-size:12px;line-height:1.85}
.story-featured-note>.story-link{flex-shrink:0}
.case-study,.note-article{min-width:0}
.case-hero{padding-bottom:42px}
.case-hero .story-title{max-width:1060px}
.case-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:24px 30px;max-width:1000px;margin:36px 0 0;padding:25px 0 0;border-top:1px solid var(--line)}
.case-facts>div{min-width:0}
.case-facts dt{font-size:9px;line-height:1.7;letter-spacing:.1em;color:#8e9a81;text-transform:uppercase;margin-bottom:8px}
.case-facts dd{margin:0;font-size:12px;line-height:1.8;color:#d4daca;overflow-wrap:anywhere}
.case-facts dd a{color:var(--lime);border-bottom:1px solid rgba(210,246,90,.3)}
.case-cover{margin-top:0;margin-bottom:0}
.case-cover img{width:100%;height:auto;border:1px solid rgba(227,242,210,.17);border-radius:16px;box-shadow:0 25px 65px rgba(0,0,0,.24);background:#151a13}
.case-cover figcaption{max-width:880px;margin:17px auto 0;font-size:11px;line-height:1.85;text-align:center;color:#8f9a84;overflow-wrap:anywhere}
.case-layout,.note-layout{display:grid;grid-template-columns:220px minmax(0,760px);justify-content:space-between;align-items:start;gap:70px;margin-top:77px}
.case-layout>*,.note-layout>*{min-width:0}
.case-toc,.note-toc{position:sticky;top:132px;padding:23px 20px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,rgba(230,240,222,.045),rgba(129,139,123,.012))}
.case-toc>p,.case-toc h2,.case-toc h3,.note-toc>p,.note-toc h2,.note-toc h3{font-family:var(--font);font-size:9px;font-weight:600;line-height:1.7;letter-spacing:.12em;color:#abb69d;text-transform:uppercase;margin:0 0 17px}
.case-toc ol,.note-toc ol{margin:0;padding:0;list-style:none;counter-reset:chapter;display:grid;gap:13px}
.case-toc li,.note-toc li{counter-increment:chapter;display:flex;align-items:baseline;gap:11px;min-width:0;font-size:11px;line-height:1.7;color:#9ca691}
.case-toc li::before,.note-toc li::before{content:counter(chapter,decimal-leading-zero);font-size:8px;letter-spacing:.03em;color:#637050;flex-shrink:0}
.case-toc a,.note-toc a{display:inline-block;min-width:0;padding:3px 0;color:#bbc4b1;overflow-wrap:anywhere;transition:color .2s}
.case-toc a:hover,.note-toc a:hover{color:var(--lime)}
.case-body,.note-body{min-width:0;max-width:760px}
.case-section,.note-section{scroll-margin-top:132px;padding-top:37px;margin-top:38px;border-top:1px solid var(--line)}
.case-section:first-child,.note-section:first-child{border-top:0;padding-top:0;margin-top:0}
.case-section h2,.note-section h2{font-size:clamp(28px,3vw,38px);line-height:1.25;letter-spacing:-.045em;margin-bottom:22px;max-width:700px;text-wrap:balance}
.case-section h3,.note-section h3{font-size:22px;line-height:1.35;letter-spacing:-.03em;margin:28px 0 14px}
.case-section p,.note-section p{font-size:15px;line-height:1.95;color:#acb4a5;overflow-wrap:break-word}
.case-section p+p,.note-section p+p{margin-top:19px}
.case-section strong,.note-section strong{color:#dde4d4;font-weight:500}
.case-section ul,.case-section ol,.note-section ul,.note-section ol{margin:22px 0 0;padding-left:21px;color:#acb4a5;display:grid;gap:11px}
.case-section li,.note-section li{font-size:14px;line-height:1.9;padding-left:4px;overflow-wrap:break-word}
.case-section li::marker,.note-section li::marker{color:#9cac75}
.case-section p a,.case-section li a,.note-section p a,.note-section li a{color:#e0e6d7;text-decoration:underline;text-decoration-color:rgba(210,246,90,.5);text-underline-offset:4px;text-decoration-thickness:1px;overflow-wrap:anywhere}
.case-section p a:hover,.case-section li a:hover,.note-section p a:hover,.note-section li a:hover{color:var(--lime)}
.story-sources{padding-bottom:14px}
.story-sources p,.story-sources li{font-size:12px;line-height:1.9;color:#929e86}
.case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:27px 0 0}
.case-gallery figure{margin:0;min-width:0}
.case-gallery img,.case-body>figure img,.note-body>figure img{width:100%;height:auto;border:1px solid var(--line);border-radius:10px}
.case-gallery figcaption,.case-body>figure figcaption,.note-body>figure figcaption{margin-top:11px;font-size:11px;line-height:1.8;color:#8e9a83}
.story-cta{margin-top:95px;padding-top:49px;padding-bottom:48px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.story-cta h2{max-width:850px;font-size:clamp(34px,4vw,54px);line-height:1.15;text-wrap:balance}
.story-cta>p{max-width:710px;margin-top:23px;font-size:14px;line-height:1.85}
.story-cta>.story-link,.story-cta>.button{margin-top:25px;margin-right:20px}
.story-cta-links,.story-cta-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 25px;margin-top:25px}
.notes-grid .note-card{min-height:285px}
.note-card .story-card-copy{padding:31px 28px}
.note-card .story-card-copy h3{font-size:27px;line-height:1.3}
.note-card .story-card-meta{color:var(--lime);font-size:9px}
.note-hero{padding-bottom:0}
.note-hero .story-title{font-size:clamp(42px,5.4vw,76px);max-width:1000px}
.note-hero .story-lede{max-width:800px}
.note-layout{margin-top:50px}
.note-callout{border:1px solid rgba(210,246,90,.2);border-left:3px solid #9bb448;border-radius:0 12px 12px 0;padding:23px 26px;margin:28px 0;background:rgba(139,166,75,.045)}
.note-callout p{font-size:14px;line-height:1.9;color:#c3ceb5}
.note-body pre{max-width:100%;margin:25px 0;padding:23px 25px;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#10150e;color:#cbdcb3;white-space:pre;font-size:12px;line-height:1.85;tab-size:2}
.note-body code{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;font-size:.88em}
.note-body :not(pre)>code{padding:3px 6px;border-radius:4px;background:rgba(210,246,90,.075);color:#c8d9ae;overflow-wrap:anywhere}
.note-body pre code{font-size:inherit;white-space:inherit}
.story-card :focus-visible,.story-cta :focus-visible,.case-toc :focus-visible,.note-toc :focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.story-card .story-card-image:focus-visible{outline-offset:-4px}
@media(max-width:1100px){
  .story-grid{gap:19px}
  .story-card-copy{padding:23px 20px}
  .story-card-copy h3{font-size:23px}
  .story-card-meta{font-size:8px}
  .case-layout,.note-layout{grid-template-columns:190px minmax(0,1fr);gap:40px}
  .case-toc,.note-toc{padding:22px 17px}
  .story-heading-row{gap:25px}
  .story-heading-row h2{font-size:46px}
  .note-card .story-card-copy{padding:27px 22px}
  .note-card .story-card-copy h3{font-size:24px}
}
@media(max-width:850px){
  .story-hero{padding-top:145px;padding-bottom:40px}
  .story-title{font-size:clamp(43px,7.5vw,65px)}
  .story-lede,.case-summary{font-size:15px;max-width:650px}
  .story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .story-card-copy{padding:25px 23px}
  .story-card-meta{font-size:9px}
  .story-heading-row{flex-wrap:wrap;align-items:flex-start}
  .story-heading-row h2{font-size:43px}
  .story-heading-row>p,.story-heading-row>div>p{max-width:100%}
  .case-layout,.note-layout{grid-template-columns:1fr;gap:36px;margin-top:45px}
  .case-toc,.note-toc{position:static;padding:21px 24px}
  .case-toc ol,.note-toc ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 25px}
  .case-toc>p,.case-toc h2,.case-toc h3,.note-toc>p,.note-toc h2,.note-toc h3{margin-bottom:13px}
  .case-facts{gap:24px;margin-top:28px}
  .case-cover img{border-radius:12px}
  .story-cta{margin-top:72px;padding-block:39px}
  .note-hero{padding-bottom:0}
  .note-hero .story-title{font-size:clamp(40px,6.7vw,61px)}
}
@media(max-width:580px){
  .story-hero{padding-top:128px;padding-bottom:34px}
  .story-kicker{font-size:8px;letter-spacing:.13em;margin-bottom:19px}
  .story-title{font-size:clamp(38px,10.8vw,57px);line-height:1.12;letter-spacing:-.055em}
  .story-lede,.case-summary{font-size:13px;line-height:1.85;margin-top:23px}
  .story-breadcrumb,.story-breadcrumbs{font-size:10px;margin-bottom:25px}
  .story-section-title{font-size:26px;margin-bottom:24px}
  .story-grid{grid-template-columns:1fr;gap:25px}
  .story-card{border-radius:13px}
  .story-card-copy{padding:25px 23px}
  .story-card-copy h3{font-size:27px;margin-bottom:13px}
  .story-card-copy>p:not(.story-card-meta){font-size:12px;margin-bottom:20px}
  .story-card-meta{font-size:9px;margin-bottom:12px}
  .story-link{font-size:12px;min-height:40px}
  .story-heading-row{display:block;margin-bottom:29px}
  .story-heading-row h2{font-size:38px}
  .story-heading-row>p,.story-heading-row>div>p{font-size:12px;margin-top:20px}
  .story-heading-row>.story-link{margin-top:15px}
  .story-featured-note{display:block;margin-top:25px;padding-block:21px}
  .story-featured-note>.story-link{margin-top:13px}
  .case-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 18px;margin-top:27px;padding-top:23px}
  .case-facts dt{font-size:8px;margin-bottom:6px}
  .case-facts dd{font-size:11px;line-height:1.75}
  .case-cover figcaption{font-size:10px;line-height:1.85;text-align:left;margin-top:13px}
  .case-cover img{border-radius:9px}
  .case-layout,.note-layout{margin-top:34px;gap:33px}
  .case-toc,.note-toc{padding:20px;border-radius:11px}
  .case-toc ol,.note-toc ol{gap:8px 17px}
  .case-toc li,.note-toc li{font-size:10px;gap:8px}
  .case-section,.note-section{margin-top:31px;padding-top:30px;scroll-margin-top:109px}
  .case-section h2,.note-section h2{font-size:29px;line-height:1.25;margin-bottom:18px}
  .case-section h3,.note-section h3{font-size:21px;margin-top:24px}
  .case-section p,.note-section p{font-size:13px;line-height:1.95}
  .case-section p+p,.note-section p+p{margin-top:17px}
  .case-section ul,.case-section ol,.note-section ul,.note-section ol{margin-top:18px;padding-left:18px;gap:10px}
  .case-section li,.note-section li{font-size:12px;line-height:1.95}
  .case-gallery{grid-template-columns:1fr;gap:22px}
  .story-sources p,.story-sources li{font-size:11px}
  .story-cta{margin-top:60px;padding-block:34px}
  .story-cta h2{font-size:35px;line-height:1.2}
  .story-cta>p{font-size:12px;margin-top:20px}
  .story-cta>.button{max-width:100%;white-space:normal;text-align:left;font-size:12px;gap:18px;padding-inline:20px}
  .story-cta-links,.story-cta-actions{gap:13px 21px}
  .notes-grid .note-card{min-height:0}
  .note-card .story-card-copy{padding:27px 24px}
  .note-card .story-card-copy h3{font-size:27px}
  .note-hero{padding-bottom:0}
  .note-hero .story-title{font-size:clamp(37px,9.7vw,54px)}
  .note-callout{padding:20px 19px;margin-block:24px;border-radius:0 9px 9px 0}
  .note-callout p{font-size:12px}
  .note-body pre{font-size:10px;line-height:1.9;padding:18px 16px;border-radius:9px}
}
@media(max-width:350px){
  .story-title{font-size:35px}
  .story-card-copy,.note-card .story-card-copy{padding:23px 20px}
  .story-card-copy h3,.note-card .story-card-copy h3{font-size:25px}
  .case-toc ol,.note-toc ol{grid-template-columns:1fr}
  .story-heading-row h2{font-size:34px}
  .case-section h2,.note-section h2{font-size:27px}
  .story-cta h2{font-size:31px}
  .note-hero .story-title{font-size:35px}
}
@media(prefers-reduced-motion:reduce){
  .story-card,.story-card-image img,.story-link,.case-toc a,.note-toc a{transition:none}
  .story-card-image:hover img{transform:none}
}
