/*
Theme Name: GrashalmInstitut Portfolio
Author: Thomas May
Description: Bildbetontes Block-Theme für das GrashalmInstitut. Erster Gestaltungsentwurf.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: grashalm
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--paper:#f6f5ee;--ink:#26362a;--grass:#7ab51d;--sage:#e5e9db;--rule:#c8cec0;--gutter:clamp(22px,4.5vw,78px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.6 Arial,Helvetica,sans-serif}a{color:inherit;text-underline-offset:.24em}a:hover{text-decoration-thickness:2px}a:focus-visible,summary:focus-visible{outline:3px solid #50752c;outline-offset:6px}img{max-width:100%;height:auto;display:block}figure,p,h1,h2,h3{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08}p{overflow-wrap:break-word}h2{font-size:clamp(36px,4vw,62px);letter-spacing:-.035em}h3{font-size:clamp(28px,2.7vw,39px);letter-spacing:-.025em}.wp-site-blocks>header,.wp-site-blocks>footer{margin-block:0}.wp-block-group{margin-block:0}.site-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px var(--gutter);border-bottom:1px solid var(--rule);max-width:1600px;margin:auto}.brand{font-size:25px;line-height:.92;font-weight:700;letter-spacing:-1px;position:relative;min-width:155px}.brand a{text-decoration:none;display:block;padding-right:28px}.brand span{display:block}.brand i{position:absolute;right:0;top:0;font-size:34px;font-weight:400;font-style:normal;color:#63852f}.nav-links{display:flex;align-items:center;gap:clamp(20px,3vw,48px);font-size:14px}.nav-links a{text-decoration:none}.nav-links a:hover{text-decoration:underline}.language-link{border-left:1px solid var(--rule);padding-left:26px}.site-main{max-width:1600px;margin-inline:auto}.hero{padding:58px var(--gutter) 70px;display:grid;grid-template-columns:.95fr 1.15fr;align-items:center;gap:clamp(24px,4vw,60px)}.eyebrow{font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.11em}.hero-title{font-size:clamp(48px,5.6vw,85px);letter-spacing:-.055em;margin:28px 0}.hero-title em{font-weight:400}.hero-intro{max-width:390px;font-size:17px;line-height:1.7}.hero-link{margin-top:30px}.text-link{font-size:14px;font-weight:600;text-decoration:none;display:inline-flex;gap:28px;align-items:center;border-bottom:1px solid var(--ink);padding-bottom:7px}.text-link span{font-size:25px;font-weight:400;line-height:1}.hero-photo{margin:0!important}.hero-photo img{width:100%;aspect-ratio:1.03;object-fit:cover;object-position:51% center}.hero-photo figcaption{font-size:11px;line-height:1.5;margin-top:12px;color:#53604f}.projects-section{padding:55px var(--gutter) 100px;border-top:1px solid var(--rule)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:48px}.section-heading p{font-size:14px;line-height:1.7;max-width:365px}.project-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:44px;row-gap:66px}.project-image{margin:0 0 22px!important;overflow:hidden}.project-image img{width:100%;aspect-ratio:1.53;object-fit:cover}.project-meta{margin-bottom:13px;color:#55624d}.project-description{font-size:16px;margin-top:12px}.wp-block-details{margin-top:19px;font-size:15px;max-width:560px}.wp-block-details summary{cursor:pointer;width:fit-content;padding:4px 0;font-size:13px;border-bottom:1px solid #a3ae94;list-style:none}.wp-block-details summary::-webkit-details-marker{display:none}.wp-block-details summary::after{content:' +';margin-left:20px;font-size:17px}.wp-block-details[open] summary::after{content:' −'}.wp-block-details p{margin-top:16px;line-height:1.75}.institute-section{padding:65px var(--gutter) 75px;background:var(--sage)}.institute-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;margin-top:26px}.institute-intro h2{font-size:clamp(36px,4.1vw,61px)}.institute-copy{font-size:17px}.institute-copy p+p{margin-top:20px}.ways{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:60px;padding-top:30px;border-top:1px solid #adb99f}.way-number{font-size:12px;margin-bottom:22px}.way h3{font-size:27px}.way>p:last-child{font-size:15px;max-width:310px;margin-top:14px}.contact-section{background:var(--ink);color:var(--paper);padding:75px var(--gutter) 80px}.contact-section h2{margin:22px 0;font-size:clamp(38px,5vw,72px)}.contact-section>p:not(.eyebrow){font-size:16px}.contact-section .contact-link{font-size:clamp(19px,2.8vw,38px)!important;margin-top:38px;letter-spacing:-.025em}.contact-link a{color:var(--grass);text-decoration:none;border-bottom:1px solid #7b8e59;padding-bottom:8px;display:inline-block;overflow-wrap:anywhere}.contact-link span{margin-left:18px}.contact-name{margin-top:27px}.site-footer{max-width:1600px;margin:auto;padding:25px var(--gutter);display:flex;justify-content:space-between;gap:24px;align-items:center;font-size:11px}.footer-brand{font-size:17px;font-weight:600;letter-spacing:-.7px}.site-footer a{text-decoration:none}.document-page{max-width:900px;padding:70px var(--gutter);margin:auto;min-height:55vh}.document-page h1{font-size:clamp(40px,5vw,65px);margin-bottom:28px}.document-page p{margin-block:20px}.document-page .wp-block-post-title{margin-block:30px 12px}.document-page .wp-block-post-date{font-size:13px}.skip-link{position:absolute;top:-100px;left:15px;padding:10px 20px;background:white;z-index:10}.skip-link:focus{top:10px}.preview-note{background:#7ab51d;text-align:center;padding:7px 20px;font-size:11px;line-height:1.4;letter-spacing:.02em}.editor-styles-wrapper .hero,.editor-styles-wrapper .project-grid{max-width:none}
@media(min-width:1200px){.project:nth-child(even){margin-top:64px}.project-grid{align-items:start}}
@media(max-width:900px){.hero{grid-template-columns:1fr 1fr;padding-top:40px}.hero-title{font-size:clamp(44px,6.5vw,62px)}.hero-photo img{aspect-ratio:.82}.nav-links{gap:20px}.section-heading{align-items:flex-start;flex-direction:column;gap:20px}.institute-intro{gap:35px}.site-footer{flex-wrap:wrap}.ways{gap:22px}}
@media(max-width:620px){.site-header{padding-block:22px;flex-wrap:wrap;gap:25px}.brand{font-size:23px}.nav-links{width:100%;justify-content:space-between;gap:10px;font-size:12px}.language-link{padding-left:13px}.hero{display:flex;flex-direction:column;align-items:stretch;padding-top:35px;padding-bottom:40px;gap:35px}.hero-title{font-size:clamp(48px,12.5vw,72px);margin:22px 0}.hero-intro{font-size:16px;max-width:440px}.hero-photo img{aspect-ratio:1.15}.hero-link{margin-top:22px}.hero-photo figcaption{font-size:10px}.eyebrow{font-size:10px}.projects-section{padding-top:38px;padding-bottom:55px}.section-heading{margin-bottom:30px}.project-grid{grid-template-columns:1fr;gap:44px}.project-meta{margin-bottom:9px}.project-image{margin-bottom:18px!important}.project h3{font-size:34px}.project-description{font-size:15px}.institute-section{padding-block:42px}.institute-intro{grid-template-columns:1fr;gap:25px}.institute-intro h2{font-size:39px}.institute-copy{font-size:16px}.ways{grid-template-columns:1fr;margin-top:35px;gap:28px}.way{display:grid;grid-template-columns:32px 1fr;column-gap:10px}.way-number{grid-row:1/3;margin:5px 0 0}.way h3{font-size:26px}.way>p:last-child{max-width:none;grid-column:2;margin-top:8px}.contact-section{padding-block:45px}.contact-section h2{font-size:43px}.contact-link span{margin-left:4px}.contact-section .contact-link{font-size:20px!important}.site-footer{font-size:10px;gap:13px}.site-footer>p:nth-child(2){order:3;width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.site-header{background:#7ab51d;color:#142408}.brand i{color:#26362a}.language-link{border-color:#4f7513}.hero-title{font-size:clamp(36px,4.2vw,64px);overflow-wrap:normal;letter-spacing:-.045em}.hero-title em{font-size:.65em}.contact-link a{color:#b7e77a}@media(max-width:620px){.hero-title{font-size:clamp(32px,8.7vw,53px)}}

.project h3 a{text-decoration:none}.project h3 a:hover{text-decoration:underline}.project-more{margin-top:19px}.project-more .text-link{font-size:12px;font-weight:400}.all-projects{margin-top:64px}.archive-link{display:inline-block;border:1px solid var(--ink);padding:16px 25px;text-decoration:none;font-size:15px}.archive-link:hover{background:var(--grass)}.archive-heading{padding:12px 0 55px}.archive-heading h1{font-size:clamp(48px,6vw,82px);margin:20px 0}.archive-heading>p:last-child{font-size:17px}.project-detail{max-width:1250px;margin:auto;padding:45px var(--gutter) 75px}.back-link{font-size:13px;margin-bottom:40px}.back-link a{text-decoration:none}.project-detail h1{font-size:clamp(38px,5vw,72px);letter-spacing:-.04em;max-width:1000px;margin:18px 0 20px;overflow-wrap:break-word}.project-lead{font-size:clamp(19px,2vw,26px);max-width:850px}.project-credit{font-size:14px;margin-top:18px}.detail-image{margin:38px 0!important}.detail-image img{width:100%;height:auto;max-height:780px;object-fit:contain;object-position:left}.project-body{font-size:19px;max-width:780px;line-height:1.8;margin:35px 0 50px}.secondary-image{max-width:950px}.next-project{border-top:1px solid var(--rule);padding-top:30px;margin-top:50px}.archive-section .project:nth-child(even){margin-top:0}.archive-section .project-grid{row-gap:55px}.project-image a{display:block}.hero-photo img{object-position:center}.hero-photo figcaption{max-width:100%}@media(max-width:620px){.project-detail{padding-top:28px}.back-link{margin-bottom:28px}.detail-image{margin:25px 0!important}.project-body{font-size:17px}.archive-heading{padding-bottom:35px}.next-project .text-link{display:block}.hero-photo img{aspect-ratio:1.25}}

.custom-header{display:block;padding:0 var(--gutter);max-width:1600px}.brand-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:20px}.institute-brand{display:flex;align-items:center;gap:16px;text-decoration:none;font-size:28px;font-weight:600;letter-spacing:-1px;line-height:1.2}.institute-brand img{width:62px;height:60px;object-fit:contain}.institute-brand small{display:block;font-size:12px;font-weight:400;letter-spacing:.02em;margin-top:5px}.brand-row .language-link{font-size:13px;text-decoration:none}.topic-nav{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #51751f;padding:18px 0;font-size:13px;line-height:1.5}.topic-nav a{text-decoration:none}.topic-nav a:hover,.topic-nav a[aria-current]{text-decoration:underline;text-underline-offset:5px}.hero-with-menu{display:block;padding:32px var(--gutter) 45px}.hero-heading h1{font-size:clamp(30px,3.8vw,54px);letter-spacing:-.035em;margin:0 0 25px}.hero-heading em{font-size:.52em;display:inline-block;margin-left:12px}.hero-stage{position:relative}.hero-stage>img{width:100%;height:560px;object-fit:cover;object-position:center 47%}.information-menu{position:absolute;left:28px;top:30px;width:285px;background:rgba(246,245,238,.95);padding:26px;color:#26362a}.information-menu p{font-size:10px;letter-spacing:.13em;margin-bottom:20px}.information-menu a{display:block;font-size:16px;text-decoration:none;padding:12px 0;border-bottom:1px solid #c8cec0}.information-menu a:last-child{border-bottom:0}.information-menu a:hover{color:#4f7513;text-decoration:underline}.hero-caption{font-size:11px;margin-top:12px}.footer-info{flex-basis:100%;display:flex;flex-wrap:wrap;gap:12px 28px;padding-bottom:14px;border-bottom:1px solid var(--rule);font-size:12px}.site-footer{flex-wrap:wrap}.archive-heading+h1,.archive-section>h1{margin-bottom:40px;font-size:clamp(36px,5vw,65px)}.document-page>p{margin:22px 0}.document-page h1{overflow-wrap:break-word}
@media(max-width:1000px){.topic-nav{justify-content:flex-start;flex-wrap:wrap;gap:14px 24px}.hero-stage>img{height:520px}.information-menu{width:260px;left:20px}}
@media(max-width:620px){.custom-header{padding:0 22px}.institute-brand{font-size:22px;gap:11px}.institute-brand img{width:48px;height:47px}.brand-row{gap:10px}.brand-row .language-link{padding-left:12px;font-size:11px}.topic-nav{display:grid;grid-template-columns:1fr 1fr;font-size:12px;gap:13px 18px}.hero-with-menu{padding-top:25px}.hero-heading h1{font-size:34px}.hero-heading em{display:block;margin:10px 0 0;font-size:22px}.hero-stage>img{height:280px;object-position:center}.information-menu{position:static;width:auto;padding:23px;background:#e5e9db}.information-menu a{font-size:15px;padding:10px 0}.information-menu p{margin-bottom:8px}.footer-info{display:grid;grid-template-columns:1fr 1fr;font-size:11px}.hero-caption{font-size:10px}}

/* SF Pro is resolved locally; Apple system fonts use -apple-system on macOS/iOS. */
@font-face{font-family:"Grashalm SF Pro";src:local("SF Pro"),local("SF Pro Text"),local("SF Pro Display");font-style:normal;font-weight:100 900;font-display:swap}
:root{--site-font:"Grashalm SF Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body,h1,h2,h3,h4,h5,h6,p,a,button,summary,input,textarea{font-family:var(--site-font)}
h1,h2,h3{font-weight:500}.hero-heading em,.hero-title em{font-style:normal;font-weight:400}.institute-brand{gap:18px;font-weight:600;letter-spacing:-.7px}.institute-brand img{width:64px;height:62px;background:none;flex-shrink:0}.hero-heading h1{font-weight:500}.hero-heading em{font-size:.48em}.hero-title{font-weight:500}
@media(max-width:620px){.institute-brand{font-size:21px;gap:12px}.institute-brand img{width:46px;height:45px}.hero-heading h1{font-size:32px}.hero-heading em{font-size:21px}}

/* User refinement: a single, larger white masthead. */
.institute-brand{font-size:36px;color:#fff;letter-spacing:-1px;gap:20px}
.institute-brand>span,.institute-brand>h1{margin:0;font:inherit;line-height:1.2;color:inherit}
.institute-brand small{font-size:13px;letter-spacing:0;color:var(--ink)}
.institute-brand img{transform:translateY(-7px)}
.hero-with-menu{padding-top:28px}
@media(max-width:620px){.institute-brand{font-size:26px;gap:12px;letter-spacing:-.8px}.institute-brand small{font-size:11px}.institute-brand img{width:43px;height:42px;transform:translateY(-5px)}.brand-row .language-link{padding-left:8px}.hero-with-menu{padding-top:22px}}

/* White subtitle, matching the masthead. */
.institute-brand small{color:#fff}

.project-videos{margin:28px 0 35px}.project-videos h2{font-size:18px;margin:0 0 14px}.video-links{display:flex;flex-wrap:wrap;gap:12px}.video-links .archive-link{font-size:14px;padding:12px 18px}

/* Masthead hierarchy and rounded information panel. */
.institute-brand{font-size:clamp(38px,4.6vw,64px);letter-spacing:-1.8px}
.institute-brand img{width:72px;height:70px}
.information-menu{border-radius:18px}
.section-heading h2,.institute-section h2,.contact-section h2{font-size:clamp(28px,3vw,40px)}
.project-detail h1,.archive-heading h1,.archive-section>h1,.document-page h1{font-size:clamp(30px,3.2vw,44px)}
@media(max-width:620px){.brand-row{flex-wrap:wrap}.institute-brand{font-size:clamp(28px,7.8vw,40px);gap:12px;letter-spacing:-1px}.institute-brand img{width:43px;height:42px}.brand-row .language-link{margin-left:auto}.section-heading h2,.institute-section h2,.contact-section h2,.project-detail h1,.archive-heading h1,.archive-section>h1,.document-page h1{font-size:26px}.information-menu{margin-top:12px}}

/* Recovered archive and direct-enquiry print gallery. */
.archive-document{max-width:1250px;margin:auto;padding:45px var(--gutter) 70px}.archive-document>p{max-width:850px;line-height:1.8}.archive-document h1{margin-bottom:28px}.recovered-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:32px 0}.recovered-gallery figure{margin:0}.recovered-gallery img{width:100%;height:270px;object-fit:contain;background:#e8e9e2}.archive-addition{margin-top:65px;padding-top:30px;border-top:1px solid var(--rule)}.archive-addition h2{font-size:32px;margin-bottom:30px}.archive-card-image{width:100%;height:320px;object-fit:contain;background:#e8e9e2}.archive-text-list{list-style:none;padding:0}.archive-text-list li{padding:22px 0;border-bottom:1px solid var(--rule)}.archive-text-list span{display:block;font-size:12px;margin-top:8px}.shop-work{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:40px}.shop-work figure{margin:0}.shop-work img{width:100%;max-height:850px;object-fit:contain}.shop-work figcaption{font-size:12px;margin-top:10px}.shop-work h2{font-size:32px;margin:0 0 20px}.print-option{border-top:1px solid var(--rule);padding:22px 0}.print-option h3{font-size:23px}.print-option p{margin:12px 0}.shop-work>div>p{line-height:1.7;margin:20px 0}@media(max-width:700px){.shop-work{grid-template-columns:1fr;gap:28px}.recovered-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recovered-gallery img{height:190px}.archive-addition h2,.shop-work h2{font-size:26px}}

/* Collections hierarchy and keyboard/touch accessible submenu. */
.collection-nav{display:flex;align-items:center;gap:5px;position:relative}.collection-nav details summary{cursor:pointer;list-style:none;padding:0 7px}.collection-nav summary::-webkit-details-marker{display:none}.collection-submenu{position:absolute;top:28px;left:0;z-index:20;min-width:230px;padding:12px;background:#f6f5ee;border:1px solid #c8cec0;border-radius:12px;box-shadow:0 8px 24px #26362a20}.collection-submenu a{display:block;padding:10px}.collection-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:35px}.collection-entry{padding:28px;background:#e8e9e2;border-radius:18px}.collection-entry h2{font-size:26px;margin:12px 0}.collection-entry h2 a{text-decoration:none}.collection-entry p{line-height:1.65;margin-bottom:20px}.collection-primary{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.collection-primary img{width:100%;height:340px;object-fit:contain}.collection-primary h2{font-size:36px}.collection-placeholder{padding:28px;background:#e8e9e2;border-radius:18px;margin:30px 0}.collection-placeholder h2{font-size:26px}@media(max-width:700px){.collection-overview{grid-template-columns:1fr}.collection-primary{grid-template-columns:1fr;gap:20px}.collection-primary img{height:240px}.collection-primary h2{font-size:28px}.collection-submenu{left:auto;right:0;min-width:200px}}

/* Rounded enquiry and video buttons. */
.print-option .archive-link,.video-links .archive-link{border-radius:999px}

.entry-content > * {margin-block:0;} .entry-content {max-width:none;}
