/* Reading hierarchy shared by all portfolio templates. Loaded after domain styles. */
body{font-size:16px}
main>:is(section,article){min-width:0}
.section{padding-block:100px}
.section>h2,.about h2{max-width:880px;font-size:clamp(36px,4.5vw,64px);line-height:1.12}
.section h2>em{display:none}
.section-intro{max-width:64ch;font-size:17px;line-height:1.75;margin-top:22px}
.eyebrow:empty,.section-top:has(>.eyebrow:only-child){display:none}
.about-intro>.eyebrow,.graphic>.eyebrow,.contact .eyebrow,.deep-intro>.eyebrow{display:none}

/* Home: three explicit groups instead of a mixed feed and duplicate entrance cards. */
#work{border-top:1px solid var(--line)}
.filters{margin:30px 0 34px;gap:10px;flex-wrap:wrap}
.filters button{font-size:14px;min-height:44px;padding:11px 18px}
.projects-grid{display:block}
.project-group{padding:34px;margin:0 0 38px;border:1px solid #61725b;border-radius:22px;background:#1b281f;--group-accent:#c1f078;scroll-margin-top:40px}
.project-group.group-design{background:#272230;border-color:#857599;--group-accent:#d9c4f7}
.project-group.group-tilda{background:#29271f;border-color:#887c5b;--group-accent:#ead09a}
.project-group-heading{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:start;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid #ffffff30}
.project-group-heading>h3{font:500 clamp(26px,2.6vw,36px)/1.2 Oswald,sans-serif;color:var(--group-accent);max-width:480px}
.project-group-heading>p{font-size:16px;line-height:1.7;max-width:440px;color:#d1d7cc}
.project-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 26px}
.project-group .project{padding-bottom:24px;border-bottom:1px solid #ffffff26;min-width:0}
.project-group .project-heading{margin-top:20px}
.project-group .project-heading h4{font:500 29px/1.25 Oswald,sans-serif}
.project-group .project>a>p{font-size:16px;max-width:54ch;line-height:1.7}
.project-group .card-scope{margin-top:16px;padding-top:14px;border-color:#ffffff24}
.project-group .card-scope strong{color:var(--group-accent);font-size:14px}
.project-image{aspect-ratio:1.45}
#more-projects{margin-top:0}

/* Major chapters of the homepage have different surfaces and a deliberate pause. */
.section.process{--bg:#eef2e7;--panel:#e0e7d8;--text:#1b2c21;--muted:#435749;--line:#bac8b5;--accent:#2c5637;background:var(--bg);color:var(--text);border:0;border-radius:24px;padding:56px;margin-block:48px 80px}
.process .process-stage{border-color:#a9bba3;background:#e2e9dc;gap:35px;padding:30px}
.process .process-copy h3{font-size:34px;line-height:1.2}
.process .process-copy>p,.process .stage-outcome p{font-size:16px;line-height:1.7}
.process .step-tabs{margin-top:30px;gap:8px}
.process .step-tabs button{font-size:14px;min-height:44px;background:#e0e7d8;border-color:#b4c3ae;color:#243c2a}
.process .step-tabs button[aria-pressed=true]{background:#254c32;color:#fff}
.process .playback button{font-size:14px;min-height:44px}
.process .scene-note{color:#455b4b;font-size:14px}
.journal-preview{padding:48px;border:1px solid #53634c;border-radius:22px;background:#1b261f;margin-block:0 80px}
.journal-preview h2{font-size:clamp(34px,4vw,52px)}
.about{border-top:1px solid #75846c;padding-block:80px;gap:64px}
.about-intro>p{font-size:17px;line-height:1.85;max-width:55ch}
.services summary{font-size:18px;min-height:64px}
.services details>p{font-size:16px;line-height:1.8}
.graphic{background:#d9c9ea;color:#292231;padding:50px;border-radius:24px;margin:40px 0 80px;border:0}
.graphic p{color:#51465e;font-size:17px;line-height:1.75;max-width:60ch}
.graphic h2{font-size:clamp(34px,4vw,52px);max-width:700px;line-height:1.15}
.contact-whatsapp-only{background:#d4eeac;color:#20341e;padding:48px;border:0;border-radius:24px;margin:32px 0 70px;gap:40px;align-items:center}
.contact-whatsapp-only h2{font-size:clamp(34px,4vw,52px);line-height:1.15}
.contact-whatsapp-only p{color:#3d5437;font-size:16px;line-height:1.7;margin-top:18px}
.contact-whatsapp-only .whatsapp{background:#234833;color:#fff;border:0;font-size:15px}

/* Case: a compact contribution, one contents control, distinct light chapter headers. */
.case-title{padding-top:35px;padding-bottom:32px}
.case-title h1{font-size:clamp(58px,8vw,108px);line-height:1.06}
.case-title>p{font-size:22px;line-height:1.55;max-width:800px}
.case-facts{grid-template-columns:1fr 1fr;margin-top:28px;padding-top:22px;gap:26px}
.case-facts small{font-size:13px;color:#bdc7b7;letter-spacing:0}
.case-facts strong{font-size:16px;line-height:1.65}
.case-art{margin:0 0 28px;min-height:0;padding:46px 5%;border-radius:18px}
.art-watermark{display:none}
.case-art .art-screens img{max-height:540px}
.multi-phone .art-screens img{height:460px}
.case-ownership{padding:28px 32px;border:1px solid #65765a;border-left:5px solid var(--accent);border-radius:16px;margin:0 0 32px;background:#1d2b21;gap:32px}
.track-design .case-ownership{background:#292433;border-color:#8f7ca5;border-left-color:#c7a5e9}
.ownership-head h2{font-size:30px;line-height:1.2;text-transform:none;margin:0 0 12px}
.ownership-head p{font-size:16px;line-height:1.7;max-width:55ch}
.ownership-proof li{font-size:15px;line-height:1.65}
.ownership-actions .button{font-size:14px}
.visual-case .case-chapter,.visual-case .case-brief,.visual-case .visual-language,.visual-case .case-result{margin:64px 0;padding:0;border:1px solid #718265;border-radius:18px;background:#1c281f;box-shadow:none;overflow:clip;scroll-margin-top:90px}
.track-design .visual-case .case-chapter,.track-design .visual-case .case-brief,.track-design .visual-case .visual-language,.track-design .visual-case .case-result{background:#25212c;border-color:#897697}
.visual-case .chapter-number{display:none}
.visual-case .chapter-heading{max-width:none;background:#e9eee5;color:#213321;padding:30px 34px;margin:0;border:0;border-bottom:1px solid #aab9a3}
.track-design .visual-case .chapter-heading{background:#e9e1f0;color:#342c40;border-bottom-color:#b9a7c9}
.visual-case .chapter-heading h2{font-size:clamp(29px,3.2vw,42px);line-height:1.22;text-transform:none;margin:0 0 18px;max-width:850px}
.visual-case .chapter-heading p{color:#41523f;font-size:17px;line-height:1.8;max-width:74ch}
.track-design .visual-case .chapter-heading p{color:#51475e}
.visual-case .chapter-visual{padding:30px}
.visual-case .chapter-visual:empty{display:none}
.visual-case .case-brief{padding:32px;gap:30px;grid-template-columns:.65fr 1.35fr;border-left:5px solid var(--accent)}
.visual-case .case-brief h2,.visual-case .visual-language>h2,.visual-case .case-result>h2{font-size:34px;line-height:1.2;text-transform:none;margin:0 0 22px}
.visual-case .case-brief p,.visual-case .case-result p{font-size:17px;line-height:1.85}
.visual-case .visual-language,.visual-case .case-result{padding:34px;max-width:none}
.visual-case .case-result{background:#293b24;border:1px solid #9fbf7b}
.visual-case .case-result>p{max-width:72ch}
.visual-case .case-figure figcaption{font-size:14px;line-height:1.6}
.visual-case .deep-phone-grid,.visual-case .phone-line,.visual-case .system-grid,.visual-case .desktop-mobile,.visual-case .four-screens{border-radius:12px;padding:26px}
.deep-intro{margin:36px 0;font-size:16px;max-width:75ch}
.deep-intro p{font-size:16px;line-height:1.8}
.source-flow summary{min-height:56px;font-size:17px}
.library-board{padding-top:28px;margin-top:28px;border-top:1px solid var(--line)}
.library-board-title h3{font-size:20px;line-height:1.5}
.next-project{padding-block:30px;margin-block:30px 60px;border-block:1px solid #7e8e72}
.case-contents{position:sticky;top:0;z-index:12;margin:26px 0 40px;border:1px solid #718265;border-radius:12px;background:#17251c;box-shadow:0 8px 24px #0002}
.case-contents>summary{display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:58px;padding:15px 22px;cursor:pointer;font-size:17px;font-weight:600;list-style:none;color:#eef2e9}
.case-contents>summary::-webkit-details-marker{display:none}
.case-contents>summary>span{font-size:14px;font-weight:400;color:#c1f078}
.case-contents>summary>span:after{content:' +';font-size:20px;margin-left:10px}
.case-contents[open]>summary>span:after{content:' −'}
.case-contents nav{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0;max-height:55vh;overflow:auto;padding:12px;border-top:1px solid #718265}
.case-contents nav a{display:flex;align-items:center;padding:12px;font-size:15px;line-height:1.6;min-height:48px;border-bottom:1px solid #ffffff18;white-space:normal}
.case-contents nav a:hover{background:#30422c;color:#e3f2cf}

/* Graphic portfolio: a gallery, a mark collection and a personal section are separate chapters. */
.graphic-mode .g-work{border-top:1px solid #a6ad99;padding-block:80px}
.graphic-mode .g-project{background:#faf8f0;border:1px solid #c4c7b6;border-radius:18px;overflow:hidden;padding:14px}
.graphic-mode .g-project-info{margin-inline:12px}
.graphic-mode .g-project>a>p{margin-inline:12px;margin-bottom:18px;font-size:16px}
.graphic-mode .g-mark-section{background:#263e34;color:#f4f3e8;padding:48px;border-radius:24px;margin:40px 0 80px}
.graphic-mode .g-mark-section .g-section-title p{color:#d1dfd1}
.graphic-mode .g-mark-wall>a{color:#eef2e4}
.graphic-mode .g-mark-wall>a>div{background:#faf6e9}
.graphic-mode .g-practice{background:#fffdf6;padding:48px;border:1px solid #bfc5b6;border-radius:24px;margin:0 0 80px;gap:48px}
.graphic-mode .g-case-section{padding:0;margin:64px 0;border:1px solid #a4ad9b;border-radius:18px;overflow:clip;background:#e4e2d7}
.graphic-mode .g-chapter-title{padding:30px 34px;background:#fffdf6;gap:32px;grid-template-columns:1fr 1fr;border-bottom:1px solid #bcc3b0;margin:0}
.graphic-mode .g-chapter-title h2{font-size:clamp(30px,3.4vw,43px);line-height:1.2;text-transform:none}
.graphic-mode .g-chapter-title p{font-size:17px;line-height:1.8}
.graphic-mode .g-case-section>.g-gallery{padding:30px}
.graphic-mode .g-case-section>.g-more{margin:0 30px 30px}
.graphic-mode .g-system{padding:34px;margin:40px 0 64px;background:#dce5df;border:1px solid #93a899;border-radius:18px}
.graphic-mode .g-system h2{font-size:36px;text-transform:none;margin-bottom:20px}
.graphic-mode .g-archive{padding:0;border:1px solid #a4ad9b;margin:64px 0;border-radius:18px;overflow:clip;background:#e5e3da}
.graphic-mode .g-archive>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:28px 32px;background:#fffdf6;font:500 30px/1.3 Oswald}
.graphic-mode .g-archive>summary>span{font:400 15px/1.6 Inter,system-ui,sans-serif}
.graphic-mode .g-archive>.g-chapter-title{display:none}
.graphic-mode .g-archive-grid{padding:28px}
.graphic-mode .g-related{margin:70px 0;border-top:2px solid #8e9a83;padding-top:38px}
.graphic-mode .g-related>h2{font-size:36px;margin-bottom:30px;text-transform:none}
.graphic-mode .g-case-title>div>p{font-size:19px;line-height:1.7;max-width:65ch}

@media(max-width:900px){
 .project-group-heading{grid-template-columns:1fr;gap:14px}
 .section.process,.journal-preview,.graphic,.contact-whatsapp-only,.graphic-mode .g-mark-section,.graphic-mode .g-practice{padding:32px}
 .process .process-stage{grid-template-columns:1fr;padding:24px}
 .graphic-mode .g-chapter-title{grid-template-columns:1fr;gap:18px}
}
@media(max-width:600px){
 body{font-size:16px}
 .site{padding-inline:5%}
 .section{padding-block:56px}
 .section>h2,.about h2{font-size:36px}
 .section-intro{font-size:16px}
 .project-group{padding:20px 16px;margin-bottom:28px;border-radius:16px}
 .project-group-heading{padding-bottom:20px;margin-bottom:22px}
 .project-group-heading>h3{font-size:29px}
 .project-group-heading>p{font-size:16px}
 .project-group-grid{grid-template-columns:1fr;gap:30px}
 .project-group .project-heading h4{font-size:28px}
 .project-group .project>a>p{font-size:16px}
 .filters{gap:8px;margin:24px 0}
 .filters button{font-size:14px;padding:10px 14px}
 .section.process,.journal-preview,.graphic,.contact-whatsapp-only,.graphic-mode .g-mark-section,.graphic-mode .g-practice{padding:26px 20px;margin-block:28px 52px;border-radius:18px}
 .process .process-stage{padding:20px 16px}
 .process .step-tabs{display:grid;grid-template-columns:1fr 1fr}
 .process .step-tabs button{justify-content:start;padding:12px;font-size:14px}
 .process .process-copy>p,.process .stage-outcome p,.process .scene-note{font-size:16px}
 .process .playback{flex-wrap:wrap;gap:12px}
 .about{gap:30px}
 .about-intro>p,.services details>p{font-size:16px}
 .services summary{font-size:17px}
 .contact-whatsapp-only{grid-template-columns:1fr;gap:26px}
 .contact-whatsapp-only .whatsapp{max-width:100%;gap:14px;padding:16px}
 .case-title h1{font-size:56px}
 .case-title>p{font-size:18px}
 .case-facts{grid-template-columns:1fr;gap:20px}
 .case-facts strong{font-size:16px}
 .case-art{padding:28px 16px}
 .case-ownership{padding:24px 20px;grid-template-columns:1fr;gap:22px;margin:0 0 28px}
 .ownership-head h2{font-size:28px}
 .ownership-head p,.ownership-proof li{font-size:16px}
 .case-contents{margin:24px 0 32px}
 .case-contents>summary{padding:14px 16px;font-size:16px;gap:10px}
 .case-contents>summary>span{font-size:13px}
 .case-contents nav{grid-template-columns:1fr}
 .case-contents nav a{font-size:15px}
 .visual-case .case-chapter,.visual-case .case-brief,.visual-case .visual-language,.visual-case .case-result{margin-block:38px;border-radius:14px;scroll-margin-top:82px}
 .visual-case .chapter-heading{padding:25px 20px}
 .visual-case .chapter-heading h2{font-size:30px;margin-bottom:18px}
 .visual-case .chapter-heading p,.visual-case .case-brief p,.visual-case .case-result p{font-size:16px;line-height:1.8}
 .visual-case .chapter-visual{padding:18px 12px}
 .visual-case .case-brief,.visual-case .visual-language,.visual-case .case-result{padding:25px 20px;grid-template-columns:1fr;gap:8px}
 .visual-case .case-figure figcaption{font-size:14px}
 .visual-case .deep-phone-grid,.visual-case .phone-line,.visual-case .system-grid,.visual-case .desktop-mobile,.visual-case .four-screens{padding:16px}
 .phone-gallery-hint,.library-hint,.product-source-note{font-size:14px;line-height:1.7}
 .graphic-mode .g-project{padding:10px}
 .graphic-mode .g-case-section,.graphic-mode .g-system,.graphic-mode .g-archive{margin-block:38px;border-radius:14px}
 .graphic-mode .g-chapter-title{padding:25px 20px}
 .graphic-mode .g-chapter-title h2{font-size:30px}
 .graphic-mode .g-chapter-title p{font-size:16px}
 .graphic-mode .g-case-section>.g-gallery{padding:18px 12px}
 .graphic-mode .g-case-section>.g-more{margin:0 16px 20px}
 .graphic-mode .g-system{padding:24px 20px}
 .graphic-mode .g-archive>summary{padding:24px 20px;font-size:28px;align-items:start;flex-direction:column;gap:8px}
 .graphic-mode .g-archive-grid{padding:18px 12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
