/*
Theme Name: FIRA Corporate
Description: FIRA editorial corporate block theme.
Version: 0.5.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: fira-corporate
License: GPL-2.0-or-later
*/
:root{--ink:#102d40;--muted:#50616b;--paper:#f8f8f4;--line:#d5dcdd;--accent:#b9d5cf;--space:clamp(24px,5vw,80px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:5px}a:focus-visible{outline:3px solid #398373;outline-offset:5px}p{line-height:1.65}h1,h2,h3{letter-spacing:-.045em;font-weight:500;line-height:1.08}h1{font-size:clamp(42px,5.1vw,76px)}h2{font-size:clamp(32px,4vw,56px)}h3{font-size:26px}em{font-style:normal}.wp-site-blocks{padding:0}.wp-block-post-content{max-width:none!important;margin:0!important}.wp-site-blocks>main{max-width:none!important;margin:0!important}.wp-block-post-content>div{max-width:none!important}figure{margin:0}img{max-width:100%;height:auto;display:block}header.wp-block-template-part{margin:0}.fira-header{margin:0;padding:24px var(--space);border-bottom:1px solid var(--line);background:var(--paper);min-height:100px;gap:24px}.fira-header p{margin:0}.fira-brand{font-size:35px;font-weight:700;letter-spacing:.08em}.fira-brand span{display:block;font-size:9px;font-weight:500;letter-spacing:.25em}.fira-header a{font-size:14px;text-decoration:none}.fira-header a:hover{color:#367e70}.fira-nav-en,.fira-nav-pl{word-spacing:4px;line-height:2.2}.eyebrow{font-size:11px;letter-spacing:.17em;font-weight:600;text-transform:uppercase}.editorial-hero{display:grid;grid-template-columns:1.05fr 1fr;background:var(--ink);color:white;min-height:640px;gap:0;margin:0!important}.hero-copy{padding:64px 40px 64px var(--space);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.hero-copy h1{margin:28px 0!important;color:white;font-size:clamp(43px,5.1vw,76px);line-height:1.04;letter-spacing:-.05em}.hero-copy h1 em{color:var(--accent)}.hero-copy>.eyebrow{color:var(--accent);margin:0}.hero-copy .lead{font-size:17px;line-height:1.7;color:#e3eaed;max-width:42ch;margin:0 0 32px}.hero-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.hero-actions p{margin:0}.primary-link a{display:inline-flex;align-items:center;min-height:52px;padding:15px 22px;background:var(--accent);color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;transition:background .2s,transform .2s}.primary-link a:hover{background:#d7e8e3;transform:translateY(-2px)}.secondary-link a{font-size:13px;color:white;text-decoration:none}.hero-media{position:relative;min-height:100%;overflow:hidden;margin:0!important}.hero-photo{height:100%;margin:0!important}.hero-photo img{width:100%;height:100%;min-height:640px;object-fit:cover;object-position:52% center}.image-label{position:absolute;bottom:20px;left:24px;margin:0;background:#102d40e8;color:white;padding:10px 14px;font-size:10px;letter-spacing:.1em}.facts-strip{display:grid;grid-template-columns:1fr 1fr 1fr;padding:35px var(--space);border-bottom:1px solid var(--line);gap:40px}.facts-strip>div{border-right:1px solid var(--line);padding-right:24px}.facts-strip>div:last-child{border:0}.fact-value{font-size:28px;line-height:1.1;letter-spacing:-.03em;margin:0 0 9px}.fact-label{font-size:12px;line-height:1.5;color:var(--muted);max-width:32ch;margin:0}.editorial-section{padding:90px var(--space);margin:0!important}.section-heading{max-width:800px;margin-bottom:50px}.section-heading h2{margin:24px 0}.section-intro{font-size:17px;color:var(--muted);max-width:58ch}.service-row{display:grid;grid-template-columns:70px 1fr 1fr;gap:32px;padding:32px 0;border-top:1px solid var(--line);margin:0!important}.service-row:last-child{border-bottom:1px solid var(--line)}.row-number{font-size:13px;color:var(--muted);margin:4px 0}.service-row h3{margin:0 0 12px;max-width:18ch}.service-row p{font-size:15px;margin:0 0 14px;max-width:45ch}.service-row .service-tag{font-size:13px;color:var(--muted)}.text-link a{font-size:13px;font-weight:600;text-decoration:none;border-bottom:1px solid var(--ink);padding-bottom:6px}.selected-section{background:#eaf0ef}.project-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:40px}.project-card{display:flex;flex-direction:column;margin:0!important}.project-card:nth-child(2){padding-top:80px}.project-image{order:-1;overflow:hidden;margin:0 0 20px!important}.project-image img{width:100%;height:330px;object-fit:cover;transition:transform .4s}.project-card:hover .project-image img{transform:scale(1.025)}.project-title{font-size:25px;margin:0 0 6px;letter-spacing:-.03em}.project-title a{text-decoration:none}.project-meta{font-size:10px;letter-spacing:.15em;margin:10px 0}.project-card>p:last-child{font-size:12px;color:var(--muted);margin:0}.more-projects{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-top:1px solid #c7d3d1;margin-top:40px;padding-top:20px}.more-projects p{margin:0}.more-projects a{font-size:14px}.all-projects{margin:40px 0 0;font-size:14px}.all-projects a{text-decoration:none;border-bottom:1px solid;padding-bottom:8px}.why-section{display:grid;grid-template-columns:1fr 1fr;background:var(--ink);color:#fff;padding:85px var(--space);gap:70px;margin:0!important}.why-heading .eyebrow{color:var(--accent)}.why-heading h2{color:white;margin:24px 0}.why-list>div{border-top:1px solid #436072;padding:24px 0}.why-list h3{font-size:24px;margin:0 0 14px;color:#fff}.why-list p{font-size:15px;max-width:45ch;color:#d6e0e4;margin:0}.process-line{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-top:45px}.process-line>div{border-top:1px solid #9dacad;padding-top:18px}.step-number{font-size:12px;color:var(--muted);margin:0 0 26px}.process-line h3{font-size:23px;margin:0}.editorial-cta{margin:0!important;padding:75px var(--space);background:#dce9e5}.editorial-cta h2{margin:20px 0 30px}.editorial-cta .primary-link a{background:var(--ink);color:white}.contact-email{font-size:14px;margin-top:24px}footer.wp-block-template-part{margin:0;padding:32px var(--space);background:var(--ink);color:#d7e0e6;font-size:12px}footer p{margin:0}
/* Existing native service and portfolio pages */
.wp-block-post-content>div:not(.editorial-hero):not(.facts-strip):not(.editorial-section):not(.why-section):not(.editorial-cta){padding:65px var(--space);margin:0}.wp-block-post-content>div:first-child:not(.editorial-hero){background:var(--ink);color:white}.wp-block-post-content>div:first-child:not(.editorial-hero) h1{max-width:1000px;color:white;margin:20px 0}.wp-block-post-content>div:first-child:not(.editorial-hero) .lead{max-width:65ch;color:#dce6eb;font-size:19px}.lead{max-width:65ch;font-size:19px}.scope,.split{display:grid;grid-template-columns:1fr 1fr;gap:50px}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.services>div{border-top:1px solid var(--line);padding:25px 0}.services h3{font-size:27px}.services p{max-width:48ch;color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.portfolio-list{display:grid;grid-template-columns:repeat(3,1fr);gap:0 35px}.portfolio-list>div{padding:24px 0;border-bottom:1px solid var(--line)}.portfolio-list h3{font-size:23px;margin:0 0 12px}.portfolio-list p{font-size:13px;margin:4px 0;color:var(--muted)}.case-nav{display:flex;flex-wrap:wrap;gap:24px}.case-nav p{margin:0}.case-detail{border-top:1px solid var(--line)}.case-detail h2{font-size:42px}.case-detail p{max-width:65ch}.photo-slot{min-height:230px;background:#e7edec;padding:35px;border-bottom:3px solid #9abbb2}.photo-slot p:first-child{font-size:27px}.photo-slot p:last-child{font-size:12px;color:var(--muted)}.draft-note{display:none}.faq details{padding:22px 0;border-bottom:1px solid var(--line)}.faq summary{font-size:20px;cursor:pointer}.soft,.experience{background:#eaf0ef}.cta{background:var(--ink);color:white}.cta h2,.cta a{color:white}.cta p{max-width:55ch}.num{font-size:12px;color:var(--muted)}.contact-box{padding:30px;background:#eaf0ef}.ribbon{display:flex;gap:30px;flex-wrap:wrap;font-size:11px;letter-spacing:.12em}
@media(min-width:1600px){.wp-site-blocks{max-width:1800px;margin:auto}.hero-copy{padding-right:65px}}
@media(max-width:1000px){.fira-header{gap:18px}.fira-header a{font-size:12px}.editorial-hero{min-height:560px}.hero-photo img{min-height:560px}.hero-copy{padding-right:25px}.hero-copy h1{font-size:46px}.hero-actions{gap:16px}.hero-copy .lead{font-size:15px}.why-section{gap:35px}.project-image img{height:270px}.service-row{grid-template-columns:36px 1fr 1fr;gap:20px}.more-projects{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){:root{--space:24px}.fira-header{min-height:90px;gap:12px;padding:20px 24px}.fira-brand{font-size:27px}.fira-brand span{font-size:7px}.fira-nav-pl,.fira-nav-en{order:3;flex-basis:100%;word-spacing:1px;display:flex;justify-content:space-between;gap:10px}.fira-header a{min-height:30px;display:inline-flex;align-items:center}.editorial-hero{grid-template-columns:1fr}.hero-copy{padding:46px 24px 44px}.hero-copy h1{font-size:clamp(40px,10.5vw,60px);margin:24px 0}.hero-copy .lead{max-width:42ch;font-size:16px}.hero-media{min-height:0}.hero-photo img{min-height:0;height:330px;object-position:50% 55%}.hero-actions{gap:18px}.facts-strip{gap:24px;padding:30px 24px;grid-template-columns:1fr}.facts-strip>div{border-right:0;border-bottom:1px solid var(--line);padding-bottom:20px;display:grid;grid-template-columns:125px 1fr;gap:15px}.fact-value{font-size:23px}.fact-label{font-size:12px}.editorial-section{padding:58px 24px}.section-heading{margin-bottom:35px}.section-heading h2{font-size:36px}.section-intro{font-size:16px}.service-row{grid-template-columns:28px 1fr;gap:12px}.service-row>div:last-child{grid-column:2}.service-row h3{font-size:26px}.project-grid,.why-section,.scope,.split,.services{grid-template-columns:1fr}.project-card:nth-child(2){padding-top:0}.project-image img{height:290px}.project-grid{gap:40px}.why-section{padding:56px 24px;gap:28px}.process-line,.steps,.portfolio-list{grid-template-columns:1fr 1fr}.process-line{row-gap:28px}.process-line h3{font-size:19px}.editorial-cta{padding:55px 24px}.editorial-cta h2{font-size:36px}.wp-block-post-content>div:not(.editorial-hero):not(.facts-strip):not(.editorial-section):not(.why-section):not(.editorial-cta){padding:45px 24px}.case-detail h2{font-size:32px}.portfolio-list{column-gap:20px}.portfolio-list h3{font-size:20px}.more-projects{gap:22px}.more-projects a{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
/* Neutralise WordPress flow spacing inside explicit grids. */
.facts-strip>div,.service-row>div,.process-line>div,.project-grid>div,.why-section>div,.services>div,.steps>div,.scope>div,.split>div,.portfolio-list>div{margin-block-start:0!important}.hero-actions{margin-block-start:0!important}.hero-actions>p{margin:0!important}.project-card{min-width:0}.project-card .wp-block-image{margin-block-start:0!important}.case-facts{display:flex;gap:24px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.case-facts p{margin:0}.case-detail .wp-block-image img{width:100%;max-height:480px;object-fit:cover}.case-detail .wp-block-image figcaption{font-size:12px;color:var(--muted)}

/* Documentary project archive: constrain display to the real source resolution. */
.complete-portfolio .section-heading{max-width:800px}.development-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 28px;max-width:1180px;margin:auto}.development-grid>.development-card{margin:0!important;padding:0 0 20px;border-bottom:1px solid var(--line);min-width:0}.portfolio-photo{margin:0 0 20px!important}.development-card .portfolio-photo img{width:100%;height:230px;object-fit:contain;background:#e7edec}.portfolio-photo figcaption{font-size:10px;color:var(--muted);line-height:1.5;margin:8px 0}.development-card h3{font-size:25px;margin:12px 0}.development-card h3 a{text-decoration:none}.development-card h3 a:hover{text-decoration:underline}.portfolio-status{font-size:10px;letter-spacing:.13em;color:#466259;margin:0}.portfolio-location{font-size:13px;color:var(--muted);margin:0}.portfolio-photo.exposure-lift img{filter:brightness(1.12) contrast(.97)}.portfolio-photo.exposure-soft img{filter:brightness(.97) saturate(.92)}.wp-block-post-content>.portfolio-feature{display:grid;grid-template-columns:minmax(0,500px) 1fr;gap:60px;padding:50px var(--space)!important;align-items:center;border-top:1px solid var(--line);max-width:1180px!important;margin:auto!important}.portfolio-feature .portfolio-photo img{width:100%;height:auto}.portfolio-feature>.case-copy{margin:0!important}.case-copy h2{font-size:40px}.case-copy p{max-width:52ch;font-size:16px}.case-copy .eyebrow{font-size:10px}.case-copy .case-facts{font-size:13px}.portfolio-detail-heading{padding-bottom:40px!important}.portfolio-feature:nth-of-type(even){background:#eef2f0}.portfolio-intro h1{max-width:1050px}.portfolio-intro .lead{max-width:65ch}
@media(max-width:1000px){.development-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px}.wp-block-post-content>.portfolio-feature{gap:30px;grid-template-columns:1fr 1fr}.case-copy h2{font-size:31px}}
@media(max-width:600px){.development-grid{grid-template-columns:1fr;max-width:440px;gap:32px}.development-card .portfolio-photo img{height:auto;max-height:350px;object-fit:contain}.development-card h3{font-size:27px}.wp-block-post-content>.portfolio-feature{grid-template-columns:1fr;gap:10px;padding:38px 24px!important}.portfolio-feature .portfolio-photo{max-width:500px;width:100%}.case-copy h2{font-size:32px}}

.fira-language-switch{white-space:nowrap}.fira-language-switch a[aria-current="page"]{font-weight:700;text-decoration:underline}
