/*
Theme Name: Leon North Portfolio
Theme URI: https://example.com/
Author: Figma Make
Description: Portfolio éditorial responsive avec projets et stories éditables.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: leon-north
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&family=Playfair+Display:wght@400;500;600&display=swap');

:root{--paper:#f3f1ec;--ink:#121212}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper)}body,button,input,textarea,select{font-family:Inter,sans-serif}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.wrap{padding-left:3.2vw;padding-right:3.2vw}.site-header{display:flex;align-items:center;justify-content:space-between;padding-top:28px;padding-bottom:28px;font-size:13px}.brand{font-weight:500}.brand em{margin:0 16px;color:#999;font-style:normal}.nav{display:flex;gap:38px}.nav a{display:block;padding:10px 20px;border-radius:19px;background:transparent;transition:background-color .18s}.nav a:hover,.nav a:focus-visible,.nav a.is-active,.nav a[aria-current=location],.nav .current-menu-item>a{background:#0000000d}.hero{min-height:93vh;padding-top:22vh;padding-bottom:7vh}.hero-meta{display:grid;grid-template-columns:repeat(3,1fr);width:47%;margin-left:53%;padding-bottom:28px;font-size:11px;text-transform:uppercase}.hero h1{max-width:1340px;margin:0;font-size:clamp(56px,7.6vw,118px);font-weight:400;line-height:.9;letter-spacing:-.075em}.section{padding-top:14vh;padding-bottom:15vh}.section-title{margin:0 0 14vh;font-size:clamp(64px,10.4vw,160px);font-weight:400;line-height:.82;letter-spacing:-.085em}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18vh 3.2vw}.project:nth-child(even){margin-top:25vh}.project-image{display:block;overflow:hidden;background:#ddd}.project.landscape .project-image{aspect-ratio:1.38}.project.portrait .project-image{aspect-ratio:.72}.project-image img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:transform .7s cubic-bezier(.22,1,.36,1),filter .4s}.project-image:hover img{transform:scale(1.035);filter:none}.project-caption{display:grid;grid-template-columns:1fr 3fr;gap:20px;padding-top:14px;font-size:12px}.project-caption h3{margin:0;font-size:clamp(18px,1.7vw,26px);font-weight:400;letter-spacing:-.045em}.section-link{display:flex;justify-content:space-between;border-top:1px solid;padding-top:14px;margin-top:20vh;font-size:clamp(20px,2.2vw,34px);letter-spacing:-.04em}.story-list{border-top:1px solid}.story-row{display:grid;grid-template-columns:.75fr 3fr 1fr auto;gap:24px;align-items:center;border-bottom:1px solid;padding:24px 0;font-size:12px}.story-row h3{margin:0;font-size:clamp(25px,3.3vw,50px);font-weight:400;letter-spacing:-.06em}.story-row .category{text-align:right}footer{padding-top:7vh;padding-bottom:34px;color:var(--paper);background:var(--ink)}.footer-title{max-width:1300px;margin:0;padding-bottom:25vh;font-size:clamp(65px,10.5vw,160px);line-height:.82;letter-spacing:-.085em}.footer-bottom{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:30px;align-items:end;font-size:12px}.contact{text-align:right}.contact a{display:block;font-size:clamp(18px,2vw,30px);letter-spacing:-.045em}[data-reveal]{opacity:0;transform:translateY(42px);transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1)}[data-reveal].is-visible{opacity:1;transform:none}
@media(max-width:760px){.wrap{padding-left:20px;padding-right:20px}.nav{gap:14px}.nav li:nth-child(2),.nav li:nth-child(3){display:none}.hero{min-height:88vh;padding-top:24vh}.hero-meta{width:100%;margin:0;font-size:9px}.hero h1{font-size:13.2vw}.section-title{margin-bottom:9vh;font-size:20vw}.project-grid{grid-template-columns:1fr;row-gap:11vh}.project:nth-child(even){margin-top:0}.story-row{grid-template-columns:.7fr 2.3fr auto;gap:12px}.story-row .category{display:none}.footer-title{padding-bottom:18vh;font-size:19vw}.footer-bottom{grid-template-columns:1fr;gap:28px}.contact{text-align:left}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}[data-reveal]{opacity:1;transform:none}}

/* Hero aligned with the original Carme composition. */
body{background:#fff}.site-header{position:absolute;top:0;left:0;z-index:20;width:100%;padding:30px 2.25vw;font-size:14px}.brand{letter-spacing:.02em}.nav{align-items:center;gap:clamp(28px,3.4vw,54px);font-size:16px}.theme-toggle{display:flex;width:58px;height:31px;align-items:center;padding:4px;border:0;border-radius:999px;background:#e5e5e5}.theme-toggle span{width:23px;height:23px;border-radius:50%;background:#fff}.hero{position:relative;display:grid;min-height:100svh;place-items:center;overflow:hidden;padding:120px 24px 145px}.hero-content{text-align:center}.hero h1{max-width:760px;margin:18px 0 0;font-size:clamp(28px,2.35vw,36px);font-weight:400;line-height:1.48;letter-spacing:-.035em}.hero h1 strong{font-weight:500}.hero-actions{display:flex;justify-content:center;gap:8px;margin-top:54px}.about-button,.arrow-button{display:flex;height:64px;align-items:center;justify-content:center;background:#e9e9e9}.about-button{min-width:180px;padding:0 38px;border-radius:999px;font-size:16px}.arrow-button{width:64px;border-radius:50%;font-size:27px}.hero-line{position:absolute;left:50%;width:2px;background:#121212;transform:translateX(-50%) scaleY(0);animation:draw-line .9s .35s cubic-bezier(.22,1,.36,1) forwards}.hero-line--top{top:162px;height:51px;transform-origin:top}.hero-line--bottom{bottom:49px;height:161px;transform-origin:top;animation-delay:.9s}.hero-line--bottom span{position:absolute;bottom:-14px;left:50%;width:26px;height:26px;border:2px solid #121212;border-radius:50%;background:#fff;transform:translateX(-50%)}@keyframes draw-line{to{transform:translateX(-50%) scaleY(1)}}
@media(max-width:760px){.site-header{padding:20px}.site-header nav{margin-left:auto}.theme-toggle{width:48px;height:27px;margin-left:14px}.theme-toggle span{width:19px;height:19px}.hero{min-height:100svh;padding:130px 20px 125px}.hero h1{max-width:520px;font-size:clamp(25px,7vw,34px);line-height:1.32}.hero h1 br{display:none}.hero-actions{margin-top:42px}.about-button,.arrow-button{height:56px}.about-button{min-width:155px}.arrow-button{width:56px}.hero-line--top{top:108px;height:44px}.hero-line--bottom{bottom:33px;height:82px}}
@media(prefers-reduced-motion:reduce){.hero-line{transform:translateX(-50%) scaleY(1);animation:none}}

/* Sticky navigation, recurring center line and light editorial footer. */
.site-header{position:sticky;top:0;left:auto;padding-top:22px;padding-bottom:22px;background:rgb(255 255 255 / 88%);backdrop-filter:blur(14px)}.hero{min-height:calc(100svh - 76px)}.section{position:relative;z-index:1;background:#fff}.section-connector{position:relative;z-index:2;width:1px;height:96px;margin:0 auto;background:#121212;transform:scaleY(0);transform-origin:top;animation:draw-connector .8s cubic-bezier(.22,1,.36,1) forwards;animation-timeline:view();animation-range:entry 10% cover 35%}.section-connector--footer{height:180px;margin-top:8vh}.section-connector--footer span{position:absolute;bottom:-9px;left:50%;width:18px;height:18px;border:1px solid #121212;border-radius:50%;background:#fff;transform:translateX(-50%)}@keyframes draw-connector{to{transform:scaleY(1)}}footer{position:relative;z-index:1;min-height:46vh;margin:0;overflow:hidden;padding:0 3.2vw 28px;color:#121212;background:#fff}.footer-title{position:absolute;top:3vh;left:50%;width:118vw;max-width:none;margin:0;padding:0;color:#f1f1f1;font-size:clamp(90px,12.7vw,196px);font-weight:500;line-height:.76;text-align:center;text-transform:uppercase;letter-spacing:-.085em;transform:translateX(-50%)}.footer-bottom{position:absolute;right:3.2vw;bottom:28px;left:3.2vw;grid-template-columns:repeat(3,1fr);font-size:11px;line-height:1.5}.contact a{font-size:11px;letter-spacing:0}
@media(max-width:760px){.site-header{padding-top:20px;padding-bottom:20px}.hero{min-height:calc(100svh - 68px)}.section-connector{height:76px}.section-connector--footer{height:140px}footer{min-height:48vh;padding:0 20px 22px}.footer-title{top:5vh;width:165vw;padding:0;font-size:23vw}.footer-bottom{right:20px;bottom:22px;left:20px;grid-template-columns:repeat(3,1fr);gap:12px;font-size:8px}.contact{align-items:flex-end;text-align:right}.contact a{font-size:8px}}
@media(prefers-reduced-motion:reduce){.section-connector{transform:scaleY(1);animation:none}}

/* Compact work index with image reveal on hover/focus. */
.work-list-section{display:grid;grid-template-columns:.72fr 1.1fr .9fr;column-gap:clamp(36px,5vw,86px);align-items:start;width:100%;max-width:1500px;min-height:0;margin:0 auto;padding-top:9vh;padding-bottom:10vh}.work-list-section .section-title{grid-column:1;margin:18px 0 0;font-size:21px;font-weight:400;line-height:1.2;letter-spacing:-.035em}.project-list{grid-column:2}.project-list-row{display:grid;grid-template-columns:1fr auto;min-height:132px;align-content:center;border-bottom:1px solid #e0e0e0;padding:18px 0;transition:color .2s}.project-list-row>span:first-child{grid-column:1/-1;margin-bottom:16px;font-size:13px}.project-list-row h3{grid-column:1;margin:0;font-size:clamp(22px,2vw,31px);font-weight:400;line-height:1.12;letter-spacing:-.045em}.project-list-row>span:nth-child(3){grid-column:1;margin-top:14px;color:#777;font-size:13px}.project-list-row>span:last-child{grid-column:2;grid-row:2/4;align-self:center;font-size:24px;opacity:0;transform:translate(-8px,8px);transition:opacity .2s,transform .2s}.project-list-row.is-active{color:#777}.project-list-row.is-active>span:last-child{opacity:1;transform:none}.project-hover-preview{position:sticky;top:96px;grid-column:3;width:100%;height:min(560px,58vw);overflow:hidden;background:#f5f5f5;opacity:0;transform:translateY(12px);transition:opacity .28s,transform .45s cubic-bezier(.22,1,.36,1);pointer-events:none}.project-hover-preview.is-visible{opacity:1;transform:none}.project-hover-preview img{width:100%;height:100%;object-fit:cover;animation:preview-in .5s cubic-bezier(.22,1,.36,1)}.work-list-section .more-link{grid-column:2;width:max-content;margin:30px auto 0}@keyframes preview-in{from{opacity:0;transform:scale(1.025)}}
@media(max-width:760px){.work-list-section{grid-template-columns:1fr;padding-top:8vh;padding-bottom:9vh}.work-list-section .section-title,.project-list,.work-list-section .more-link{grid-column:1}.work-list-section .section-title{margin:0 0 28px}.project-list-row{min-height:118px}.project-list-row h3{font-size:24px}.project-hover-preview{display:none}}

/* Two-arrow vertical swap triggered by the About Me button. */
.arrow-button{overflow:hidden}.arrow-swap{position:relative;display:block;width:24px;height:24px}.arrow-swap>span{position:absolute;inset:0;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 19.5 19.5 4.5M8.25 4.5h11.25v11.25' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px 24px no-repeat;mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 19.5 19.5 4.5M8.25 4.5h11.25v11.25' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px 24px no-repeat;transition:transform .42s cubic-bezier(.22,1,.36,1)}.arrow-swap>span:nth-child(2){transform:translate(-150%,150%)}.about-button:hover+.arrow-button .arrow-swap>span:first-child,.arrow-button:hover .arrow-swap>span:first-child,.about-button:focus-visible+.arrow-button .arrow-swap>span:first-child{transform:translate(150%,-150%)}.about-button:hover+.arrow-button .arrow-swap>span:nth-child(2),.arrow-button:hover .arrow-swap>span:nth-child(2),.about-button:focus-visible+.arrow-button .arrow-swap>span:nth-child(2){transform:none}

/* Shared Framer-style split button. */
.animated-button{display:inline-flex;width:max-content;align-items:center;gap:8px}.animated-button .button-label,.animated-button .button-arrow{display:flex;height:58px;align-items:center;justify-content:center;background:#0000001a}.animated-button .button-label{min-width:174px;padding:0 42px;border-radius:32px;font-size:16px;font-weight:500}.animated-button .button-arrow{width:58px;overflow:hidden;border-radius:50%}.animated-button.more-link,.work-list-section .animated-button.more-link,.section .animated-button.more-link{display:inline-flex;width:max-content;min-width:0;justify-content:initial;gap:8px;margin:30px auto 0;border:0;padding:0;background:transparent}.animated-button:hover .arrow-swap>span:first-child,.animated-button:focus-visible .arrow-swap>span:first-child{transform:translate(150%,-150%)}.animated-button:hover .arrow-swap>span:nth-child(2),.animated-button:focus-visible .arrow-swap>span:nth-child(2){transform:none}
@media(max-width:760px){.animated-button .button-label,.animated-button .button-arrow{height:50px}.animated-button .button-label{min-width:145px;padding:0 30px;font-size:14px}.animated-button .button-arrow{width:50px}}

/* About-page inspired editorial sections. */
.editorial-section{position:relative;z-index:1;display:grid;grid-template-columns:.72fr 2.28fr;column-gap:clamp(36px,7vw,120px);width:100%;max-width:1500px;margin:0 auto;padding-top:13vh;padding-bottom:13vh;background:#fff}.editorial-section>h2{margin:4px 0 0;font-size:20px;font-weight:400;line-height:1.2;letter-spacing:-.03em}.about-copy{max-width:850px}.about-lead{max-width:760px;margin:0;font-size:clamp(27px,2.45vw,38px);line-height:1.35;letter-spacing:-.045em}.about-lead strong{font-weight:500}.about-body{max-width:680px;margin:70px 0 0;color:#555;font-size:clamp(16px,1.35vw,20px);line-height:1.55;letter-spacing:-.025em}.tech-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #d9d9d9}.tech-item{display:flex;min-height:112px;align-items:center;justify-content:space-between;border-bottom:1px solid #d9d9d9;padding:0 22px 0 0}.tech-item:nth-child(odd){border-right:1px solid #d9d9d9}.tech-item:nth-child(even){padding-left:22px}.tech-item span{color:#888;font-size:11px}.tech-item strong{font-size:clamp(24px,2.4vw,36px);font-weight:400;letter-spacing:-.05em}.services-list{border-top:1px solid #121212}.service-row{display:grid;grid-template-columns:.55fr 1.15fr 1.5fr;gap:clamp(20px,3vw,50px);align-items:start;border-bottom:1px solid #d9d9d9;padding:34px 0}.service-row>span{padding-top:5px;font-size:12px}.service-row h3{margin:0;font-size:clamp(22px,2vw,30px);font-weight:400;line-height:1.15;letter-spacing:-.045em}.service-row p{margin:0;color:#666;font-size:15px;line-height:1.55}
@media(max-width:760px){.editorial-section{grid-template-columns:1fr;row-gap:38px;padding-top:10vh;padding-bottom:10vh}.editorial-section>h2{margin:0}.about-lead{font-size:28px}.about-body{margin-top:42px}.tech-list{grid-template-columns:1fr}.tech-item:nth-child(odd){border-right:0}.tech-item:nth-child(even){padding-left:0}.service-row{grid-template-columns:.6fr 2fr;gap:16px}.service-row p{grid-column:2}}

/* Full About composition: portrait monogram, compact tools and narrow services. */
.portrait-collage{position:relative;display:grid;grid-column:2;width:100%;max-width:752px;justify-self:start;min-height:760px;place-items:center;margin-top:75px;overflow:hidden}.portrait-collage img{position:relative;z-index:1;width:min(520px,54vw);height:760px;object-fit:cover;object-position:center top}.collage-type{position:absolute;z-index:0;display:flex;width:min(960px,92vw);flex-direction:column;color:#050505;font-size:clamp(150px,17vw,260px);font-weight:500;line-height:.73;text-align:center;letter-spacing:-.12em}.collage-type span:last-child{margin-top:.42em}.tech-section{padding-top:4vh;padding-bottom:8vh}.tech-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:760px;border:0;background:linear-gradient(90deg,#fff,#fafafa 18%,#fafafa 82%,#fff)}.tech-item,.tech-item:nth-child(odd),.tech-item:nth-child(even){display:flex;min-height:118px;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:0;padding:14px 8px}.tech-number{display:none}.tech-icon{display:grid;width:34px;height:34px;place-items:center;border:1px solid #121212;border-radius:8px;font-size:11px;font-weight:500}.tech-item strong{font-size:11px;font-weight:400;letter-spacing:-.02em}.services-list{max-width:680px;border:0}.service-row{display:block;border:0;padding:0 0 42px}.service-row>span{display:block;padding:0 0 10px;font-size:11px}.service-row h3{font-size:clamp(20px,1.8vw,27px)}.service-row p{max-width:560px;margin-top:9px;font-size:14px}.services-contact{margin:4px auto 0}
@media(max-width:760px){.portrait-collage{grid-column:1;max-width:100%;min-height:118vw;margin-top:45px}.portrait-collage img{width:54vw;height:112vw}.collage-type{width:96vw;font-size:28vw}.tech-section{row-gap:20px;padding-top:4vh}.tech-list{grid-template-columns:repeat(5,1fr);width:100%}.tech-item,.tech-item:nth-child(odd),.tech-item:nth-child(even){min-height:94px;gap:8px;padding:10px 2px}.tech-icon{width:29px;height:29px;border-radius:7px;font-size:9px}.tech-item strong{font-size:9px}.service-row{display:block;padding-bottom:34px}.service-row p{margin-top:8px}}

/* Match the Recent Work typography scale across the new sections. */
.about-lead,.service-row h3{font-size:clamp(22px,2vw,31px)}.about-body,.tech-item strong,.service-row p{font-size:13px}
@media(max-width:760px){.about-lead,.service-row h3{font-size:24px}.tech-item strong{font-size:13px}}

/* Two seamless footer tickers moving in opposite directions. */
.footer-tickers{position:absolute;top:3vh;left:0;width:100%;overflow:hidden;color:#f1f1f1;pointer-events:none}.ticker-row{width:100%;overflow:hidden}.ticker-track{display:flex;width:max-content;will-change:transform;animation:ticker-left 60s linear infinite}.ticker-row--reverse .ticker-track{animation-name:ticker-right;filter:blur(5px);opacity:.72}.ticker-group{display:flex;flex:none;gap:40px;padding-right:40px}.ticker-group span{flex:none;font-size:240px;font-weight:800;line-height:.82;white-space:nowrap;text-transform:uppercase;letter-spacing:-.085em}@keyframes ticker-left{from{transform:translateX(0)}to{transform:translateX(-50%)}}@keyframes ticker-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(max-width:760px){.footer-tickers{top:5vh}.ticker-track{animation-duration:40s}.ticker-group{gap:24px;padding-right:24px}.ticker-group span{font-size:30vw}}
@media(prefers-reduced-motion:reduce){.ticker-track,.ticker-row--reverse .ticker-track{transform:translateX(-12%);animation:none}}

/* Final footer pacing and one consistent 2px spine. */
.hero-line,.section-connector{width:2px}.section-connector{background:transparent;transform:none;animation:none}.section-connector:before{position:absolute;inset:0;width:100%;background:#121212;content:"";transform:scaleY(0);transform-origin:top;animation:draw-connector 1s cubic-bezier(.22,1,.36,1) forwards;animation-timeline:view();animation-range:entry 5% cover 35%}.section-connector--footer{height:320px;margin-top:10vh;margin-bottom:-180px}.section-connector--footer:before{transform-origin:bottom}.section-connector--footer span{z-index:1;border-width:2px}footer{min-height:68vh}.footer-tickers{top:8vh}.ticker-track{animation-duration:180s}.ticker-row--reverse .ticker-track{filter:blur(5px)}.ticker-group span{font-weight:800;line-height:.9}.footer-bottom{z-index:2}
@media(max-width:760px){.section-connector--footer{height:250px;margin-bottom:-140px}footer{min-height:62vh}.footer-tickers{top:8vh}.ticker-track{animation-duration:120s}}
@media(prefers-reduced-motion:reduce){.section-connector:before{transform:scaleY(1);animation:none}}

/* Requested spacing and shared content widths. */
.hero-content{display:flex;flex-direction:column;gap:0;margin-top:0;padding-block:48px}.hero-content h1{margin-top:48px;margin-bottom:48px}.hero-actions{margin-top:0;margin-bottom:48px}.about-copy{width:100%;max-width:496px}.services-section{grid-template-columns:.72fr 1.1fr .9fr;column-gap:clamp(36px,5vw,86px)}.services-list{grid-column:2/4;width:100%;max-width:none}
@media(max-width:760px){.services-section{grid-template-columns:1fr}.services-list{grid-column:1}}


.services-contact{display:flex;grid-column:2;justify-self:center;margin-right:auto;margin-left:auto}.services-section{align-items:start;padding-top:9vh;padding-bottom:10vh}.services-section>h2{margin:18px 0 0;font-size:21px}
@media(max-width:760px){.services-contact{grid-column:1}.services-section>h2{margin:0 0 28px}}

/* Seamless masked ticker for Tech Stacks. */
.tech-list{position:relative;display:block;width:100%;max-width:752px;height:132px;overflow:hidden;border-radius:16px;background:#0000000d;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 14.3167%,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 14.3167%,#000 82%,transparent 100%)}.tech-track{display:flex;width:max-content;height:100%;align-items:center;will-change:transform;animation:tech-ticker 28s linear infinite}.tech-group{display:flex;flex:none;height:100%;align-items:center}.tech-item,.tech-item:nth-child(odd),.tech-item:nth-child(even){flex:0 0 152px;width:152px;height:100%;min-height:0;padding:14px 8px}@keyframes tech-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:760px){.tech-list{height:132px}.tech-track{animation-duration:22s}.tech-item,.tech-item:nth-child(odd),.tech-item:nth-child(even){flex-basis:122px;width:122px}}
@media(prefers-reduced-motion:reduce){.tech-track{transform:translateX(0);animation:none}}

/* Contact block. */
.contact-section{align-items:start;padding-top:12vh;padding-bottom:12vh}.contact-section>h2{grid-column:1;grid-row:1;margin:4px 0 0;font-size:21px;font-weight:400}.contact-form{display:flex;grid-column:1/-1;grid-row:1;width:100%;max-width:752px;flex-direction:column;gap:24px;justify-self:center}.contact-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.contact-form label{display:flex;flex-direction:column;gap:10px;font-size:17px;font-weight:500}.contact-form input,.contact-form textarea{width:100%;border:1px solid #d8d8d8;border-radius:4px;outline:none;background:#fff;font-size:16px;transition:border-color .18s,box-shadow .18s}.contact-form input{height:52px;padding:0 20px}.contact-form textarea{min-height:200px;resize:vertical;padding:20px}.contact-form input:focus,.contact-form textarea:focus{border-color:#777;box-shadow:0 0 0 3px #0000000d}.contact-form button{width:100%;height:58px;border:0;border-radius:32px;background:#0000000d;font-size:16px;font-weight:500;cursor:pointer;transition:background .18s}.contact-form button:hover{background:#0000001a}.contact-form-status{margin:0;text-align:center}.contact-form-status.is-error{color:#8e2525}.contact-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.contact-section{row-gap:34px}.contact-section>h2,.contact-form{grid-column:1;grid-row:auto}.contact-section>h2{margin:0}.contact-form-row{grid-template-columns:1fr}}

.tech-icon{display:grid;width:67px;height:67px;flex:none;place-items:center;border:0;border-radius:0;color:#121212}.tech-icon svg{display:block;width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}.tech-item strong{display:flex;width:100%;min-height:40px;align-items:flex-start;justify-content:center;font-size:16px;line-height:1.2;text-align:center}.tech-item,.tech-item:nth-child(odd),.tech-item:nth-child(even){justify-content:center;gap:4px;padding:6px 8px}
@media(max-width:760px){.tech-icon{width:67px;height:67px}.tech-icon svg{width:48px;height:48px}.tech-item strong{font-size:16px}.tech-item,.tech-item:nth-child(odd),.tech-item:nth-child(even){gap:4px;padding:6px 8px}}

/* Sticky parallax logo constrained to the portrait. */
.portrait-collage{display:block;min-height:0;overflow:visible;isolation:isolate}.portrait-collage img{display:block;position:relative;z-index:1;width:100%;height:auto;aspect-ratio:752/1100;margin:0 auto;object-fit:cover}.collage-type{position:absolute;inset:0;z-index:10;display:block;width:100%;color:#050505;font-size:clamp(112px,14vw,220px);font-weight:700;line-height:1;letter-spacing:-.1em;pointer-events:none}.collage-type span,.collage-type span:last-child{position:sticky;top:50vh;display:block;z-index:1;width:max-content;margin:0 auto;transform:translateY(-50%);white-space:nowrap}
@media(max-width:760px){.portrait-collage img{width:100%;height:auto}.collage-type{width:100%;font-size:23vw}}
@media(prefers-reduced-motion:reduce){.collage-type span,.collage-type span:last-child{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}}

/* The logo is a direct sticky grid item while the portrait scrolls below it. */
.portrait-collage{display:grid;overflow:visible;isolation:isolate}.portrait-collage img{grid-area:1/1;z-index:1}.collage-type{position:sticky;top:50vh;inset:auto;z-index:20;grid-area:1/1;align-self:start;justify-self:center;width:max-content;height:max-content;transform:translateY(-50%)}.collage-type span,.collage-type span:last-child{position:static;top:auto;display:block;z-index:auto;margin:0;transform:none}
@media(prefers-reduced-motion:reduce){.collage-type{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collage-type span,.collage-type span:last-child{position:static;transform:none}}

/* Scroll-clamped logo: fixed to viewport center while the portrait passes behind. */
.portrait-collage{position:relative;display:block}.collage-type{position:absolute;top:var(--logo-y,50%);left:50%;z-index:20;width:max-content;height:max-content;font-weight:800;transform:translate(-50%,-50%);will-change:top}.collage-type span,.collage-type span:last-child{position:static;transform:none}
@media(prefers-reduced-motion:reduce){.collage-type{top:50%}}

/* Center every About-page content block on the page axis. */
.about-section>h2,.tech-section>h2,.services-section>h2{grid-column:1;grid-row:1}.about-copy{grid-column:1/-1;grid-row:1;justify-self:center}.portrait-collage{grid-column:1/-1;justify-self:center}.tech-list{grid-column:1/-1;grid-row:1;justify-self:center}.services-list{grid-column:2/4;grid-row:1;width:100%;max-width:none;justify-self:stretch}.services-contact{grid-column:2;justify-self:center}
@media(max-width:760px){.about-section>h2,.tech-section>h2,.services-section>h2,.about-copy,.tech-list,.services-list{grid-column:1;grid-row:auto}.portrait-collage,.services-contact{grid-column:1}}

.hero-line--top{top:100px;height:51px;transform-origin:top}

.about-lead,.about-body{font-size:20px}

/* Authoritative portrait layering override. */
.portrait-collage{position:relative!important;display:block!important;overflow:visible!important;isolation:isolate}.portrait-collage img{position:relative!important;z-index:1!important;display:block;width:100%!important;height:auto!important;aspect-ratio:752/1100;object-fit:cover}.portrait-collage .collage-type{position:absolute!important;top:var(--logo-y,50%)!important;left:50%!important;z-index:999!important;display:block!important;width:max-content!important;height:max-content!important;transform:translate(-50%,-50%)!important;pointer-events:none}.portrait-collage .collage-type span{position:static!important;display:block;transform:none!important}

/* Cabinet identity and footer contact treatment. */
.hero-logo{display:block;width:270px;max-width:100%;height:auto;margin:0 auto}.hero h1{margin-top:0}.portrait-collage img{aspect-ratio:1/1!important}.footer-bottom,.contact a{font-size:16px}@keyframes highlight{from{transform:scaleX(0)}to{transform:scaleX(1)}}.line-marker{position:relative;z-index:0;display:inline-block;isolation:isolate;text-transform:capitalize}.line-marker:before{position:absolute;z-index:-1;bottom:10%;left:0;width:100%;height:20%;background-color:#011bff;content:"";transform:scaleX(0);transform-origin:left;animation:highlight 1s ease 1s 1 forwards}

/* Compact header identity with an upward rotating descriptor. */
.brand{--brand-line-height:20px;gap:0;white-space:nowrap}.brand-mark{flex:none;font-family:"Playfair Display",serif;font-weight:600;letter-spacing:.04em}.brand-separator{flex:none;margin:0 16px;color:#9e9b96}.brand-slider{height:var(--brand-line-height);overflow:hidden}.brand-slider-track{display:flex;flex-direction:column;animation:brand-slide-up 12s cubic-bezier(.76,0,.24,1) infinite;will-change:transform}.brand-slider-track>span{display:flex;height:var(--brand-line-height);flex:none;align-items:center;color:#000000b3;font-size:12px;text-transform:uppercase;letter-spacing:.04em}@keyframes brand-slide-up{0%,16%{transform:translateY(0)}22%,38%{transform:translateY(calc(var(--brand-line-height) * -1))}44%,60%{transform:translateY(calc(var(--brand-line-height) * -2))}66%,82%{transform:translateY(calc(var(--brand-line-height) * -3))}88%,100%{transform:translateY(calc(var(--brand-line-height) * -4))}}@media(prefers-reduced-motion:reduce){.brand-slider-track{animation:none}}

/* Viewport-safe hero and mobile navigation. */
.menu-toggle{display:none}.hero{height:calc(96dvh - 30px);min-height:0;padding:clamp(52px,8dvh,100px) 24px clamp(88px,18dvh,180px)}.hero-content{margin-top:0}.hero-logo{width:clamp(120px,34dvh,270px)}.hero h1{font-size:clamp(20px,4dvh,36px);line-height:1.35}.hero-actions{margin-top:clamp(16px,5dvh,54px)}.hero-line--top{top:clamp(26px,10dvh,100px);height:clamp(30px,7dvh,51px)}.hero-line--bottom{bottom:clamp(18px,7dvh,70px);height:clamp(44px,13dvh,160px)}
@media(max-width:760px){.site-header{min-height:68px}.brand{position:relative;z-index:30;min-width:0}.brand-slider{max-width:calc(100vw - 190px)}.menu-toggle{position:relative;z-index:30;display:flex;width:28px;height:28px;flex-direction:column;justify-content:center;gap:6px;border:0;padding:0;color:#121212;background:transparent;cursor:pointer;transition:color .18s}.menu-toggle i{display:block;width:100%;height:1px;background:currentColor;transform-origin:center;transition:transform .3s,opacity .18s}.menu-is-open{background:transparent;backdrop-filter:none}.menu-is-open .brand,.menu-is-open .menu-toggle{color:#f3f1ec}.menu-is-open .brand-separator{color:#777}.menu-is-open .brand-slider-track>span{color:#f3f1ecb3}.menu-is-open .menu-toggle i:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-is-open .menu-toggle i:last-child{transform:translateY(-3.5px) rotate(-45deg)}.site-header nav{margin-left:auto}.nav{position:fixed;z-index:25;inset:0;display:flex;width:100%;height:100dvh;flex-direction:column;justify-content:center;gap:0;overflow-y:auto;margin:0;padding:96px 20px 28px;color:#f3f1ec;background:#121212;list-style:none;transform:translateY(-101%);transition:transform .5s cubic-bezier(.22,1,.36,1)}.nav.is-open{transform:translateY(0)}.nav>li,.nav li:nth-child(2),.nav li:nth-child(3){display:block;width:100%}.nav a{display:block;width:100%;border-bottom:1px solid #555;border-radius:0;padding:12px 0;font-size:clamp(30px,10vw,48px);line-height:1.08;letter-spacing:-.07em}.nav a:hover,.nav a:focus-visible,.nav a.is-active,.nav a[aria-current=location],.nav .current-menu-item>a{background:#ffffff14}.hero{height:calc(100dvh - 68px);min-height:0;padding:clamp(40px,9dvh,76px) 20px clamp(76px,17dvh,120px)}.hero-logo{width:clamp(105px,28dvh,210px)}.hero h1{font-size:clamp(18px,3.8dvh,30px);line-height:1.28}.hero-actions{margin-top:clamp(14px,4dvh,34px)}.animated-button .button-label,.animated-button .button-arrow{height:clamp(42px,7dvh,50px)}.animated-button .button-label{min-width:136px;padding:0 26px}.animated-button .button-arrow{width:clamp(42px,7dvh,50px)}.hero-line--top{top:clamp(20px,7dvh,56px);height:clamp(24px,6dvh,44px)}.hero-line--bottom{bottom:clamp(17px,4dvh,33px);height:clamp(42px,13dvh,82px)}}
@media(min-width:761px) and (max-width:1350px){.hero-logo{width:220px}.hero h1{font-size:32px;line-height:1.3}.hero-actions{margin-top:36px}}
@media(min-width:761px) and (max-width:1350px) and (max-height:760px){.site-header{min-height:56px;padding-top:18px;padding-bottom:18px}.hero{height:calc(100dvh - 56px);padding:15px 24px 104px}.hero-logo{width:175px}.hero h1{font-size:26px;line-height:1.28}.hero-actions{margin-top:22px}.animated-button .button-label,.animated-button .button-arrow{height:48px}.animated-button .button-label{min-width:152px;padding:0 32px}.animated-button .button-arrow{width:48px}.hero-line--top{top:38px;height:36px}.hero-line--bottom{bottom:68px;height:100px}}
@media(max-height:600px){.site-header{min-height:48px;padding-top:14px;padding-bottom:14px}.hero{height:calc(100dvh - 48px);padding:34px 20px 68px}.hero-logo{width:clamp(88px,23dvh,150px)}.hero h1{font-size:clamp(16px,3.4dvh,24px);line-height:1.22}.hero-actions{margin-top:12px}.animated-button .button-label,.animated-button .button-arrow{height:40px}.animated-button .button-label{min-width:126px;padding:0 22px}.animated-button .button-arrow{width:40px}.hero-line--top{top:16px;height:28px}.hero-line--bottom{bottom:15px;height:clamp(34px,10dvh,58px)}.nav{padding-top:68px;padding-bottom:16px}.nav a{padding-top:8px;padding-bottom:8px;font-size:clamp(26px,8dvh,38px)}}

/* Final header and hero spacing values. */
.brand-mark{font-size:20px}.brand-slider-track>span{height:calc(var(--brand-line-height) - .5px);margin-top:.5px;color:#0006}.hero-actions{margin-top:0}

.portrait-collage .collage-type span{font-family:"Playfair Display",serif}.portrait-collage img{filter:brightness(1.2)}

.hero h1 .line-marker{text-transform:none}.hero h1 .line-marker:nth-of-type(1):before{animation-delay:.8s}.hero h1 .line-marker:nth-of-type(2):before{animation-delay:1.25s}.hero h1 .line-marker:nth-of-type(3):before{animation-delay:1.7s}

/* Final editorial typography. */
.hero h1{flex:none;font-family:"Playfair Display",serif;font-size:clamp(20px,4dvh,36px);font-weight:500;line-height:1.35;letter-spacing:.01em}.service-row h3,.project-list-row h3{font-family:"Playfair Display",serif;font-size:clamp(22px,2vw,24px);font-weight:200;line-height:1.12;letter-spacing:-.015em}.service-row p{font-size:16px}.project-list-row>span:nth-child(3){font-size:14px}

/* Editorial testimonials carousel. */
.testimonials-section{position:relative;z-index:1;overflow:hidden;padding-top:11vh;padding-bottom:11vh;background:#fff}.testimonials-heading{display:grid;grid-template-columns:.72fr 1.1fr .9fr;column-gap:clamp(36px,7vw,120px);align-items:start}.testimonials-heading h2{margin:4px 0 0;font-size:21px;font-weight:400;line-height:1.2;letter-spacing:-.035em}.testimonials-heading p{max-width:780px;margin:0;font-family:"Playfair Display",serif;font-size:clamp(20px,4dvh,36px);font-weight:400;line-height:1.28;letter-spacing:-.025em}.testimonials-track{display:grid;grid-auto-columns:calc((100% - 48px)/3);grid-auto-flow:column;gap:24px;margin-top:72px;overflow-x:auto;padding-bottom:4px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}.testimonials-track::-webkit-scrollbar{display:none}.testimonial-card{display:flex;min-height:400px;flex-direction:column;border-radius:24px;padding:28px;background:#f4f4f2;scroll-snap-align:start}.testimonial-meta{display:flex;justify-content:space-between;gap:20px;color:#00000085;font-size:11px;line-height:1.25;text-transform:uppercase;letter-spacing:.06em}.testimonial-meta span:last-child{text-align:right}.testimonial-card blockquote{margin:52px 0 40px}.testimonial-card blockquote p{margin:0;font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:1.38;letter-spacing:-.02em}.testimonial-author{display:flex;flex-direction:column;gap:5px;margin-top:auto;border-top:1px solid #00000024;padding-top:18px}.testimonial-author strong{font-size:15px;font-weight:500}.testimonial-author span{max-width:34ch;color:#0000008c;font-size:13px;line-height:1.35}.testimonials-controls{display:flex;align-items:center;justify-content:space-between;margin-top:24px;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.testimonials-controls>div{display:flex;gap:8px}.testimonials-controls button{display:grid;width:52px;height:52px;place-items:center;border:0;border-radius:50%;background:#0000000d;font-size:22px;cursor:pointer;transition:background-color .18s,transform .18s}.testimonials-controls button:hover{background:#0000001a;transform:translateY(-2px)}@media(max-width:1100px){.testimonials-track{grid-auto-columns:calc((100% - 20px)/2);gap:20px}}@media(max-width:760px){.testimonials-section{padding-top:9vh;padding-bottom:9vh}.testimonials-heading{grid-template-columns:1fr;gap:28px}.testimonials-track{grid-auto-columns:100%;margin-top:48px}.testimonial-card{min-height:400px;border-radius:20px;padding:24px}.testimonial-card blockquote{margin-top:42px}.testimonials-controls button{width:46px;height:46px}}

.contact-section{background-color:#011bff;background-image:url("assets/fond-contact.png");background-repeat:no-repeat;background-position:center;background-size:cover}
