/* Workflow Yard Inc — main stylesheet */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#eee;color:#000;font-family:'Darker Grotesque',sans-serif;font-size:22px;line-height:1.6;-webkit-font-smoothing:antialiased}
body.menu-open{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none;transition:color .2s}
a:hover{color:#427469}
button{font-family:inherit}
:focus-visible{outline:2px solid #427469;outline-offset:3px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.container{width:100%;max-width:1400px;margin:0 auto;padding-left:clamp(20px,4vw,48px);padding-right:clamp(20px,4vw,48px)}

/* Type */
.h1{font-family:'Italiana',serif;font-weight:400;font-size:clamp(60px,7vw,100px);line-height:.9;margin:0 0 30px}
.h1--md{font-size:clamp(40px,4.5vw,64px);line-height:1;margin:clamp(24px,3vw,40px) 0 24px}
.h2{font-family:'Italiana',serif;font-weight:400;font-size:clamp(46px,5vw,70px);line-height:.95;margin:0}
.h2--sm{font-size:clamp(40px,4.5vw,60px);margin-bottom:20px}
.h2--center{text-align:center;margin-bottom:60px}
.h3{font-family:'Italiana',serif;font-weight:400;font-size:clamp(28px,2.6vw,35px);line-height:1.1;margin:0}
.lead{margin:0;font-size:22px;line-height:1.4;max-width:520px}
.text-muted{font-size:22px;color:#333;margin:0 0 40px}

/* Nav */
.nav{position:sticky;top:0;z-index:50;height:80px;display:flex;align-items:center;background:#fff}
.nav--home{background:#eee;margin-bottom:-80px}
.nav__inner{display:flex;justify-content:space-between;align-items:center;gap:24px}
.logo{font-family:'Italiana',serif;font-size:clamp(22px,4.6vw,28px);letter-spacing:.08em;line-height:1;white-space:nowrap}
.nav__right{display:flex;align-items:center;gap:40px}
.nav__links{display:flex;gap:30px;font-size:22px;font-weight:500;letter-spacing:1px;text-transform:uppercase}
.nav__link{padding:10px 0;transition:color .2s,box-shadow .2s}
.nav__link:hover,.nav__link.is-active{color:#427469;box-shadow:inset 0 -2px 0 #427469}
.burger{width:44px;height:44px;margin-right:-8px;padding:8px;background:none;border:0;cursor:pointer;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:7px;transition:gap .25s}
.burger:hover{gap:9px}
.burger span{display:block;width:28px;height:2px;border-radius:2px;background:#000}
.burger span:last-child{width:18px;background:#427469}

/* Fullscreen menu */
.menu{position:fixed;inset:0;z-index:100;background:#eee;overflow-y:auto;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(-12px);transition:opacity .35s ease,transform .35s ease,visibility 0s linear .35s}
.menu-open .menu{opacity:1;visibility:visible;transform:none;transition:opacity .35s ease,transform .35s ease}
.menu__top{height:80px;flex:none;display:flex;justify-content:space-between;align-items:center}
.menu__close{position:relative;width:44px;height:44px;margin-right:-8px;background:none;border:0;cursor:pointer}
.menu__close span{position:absolute;left:8px;top:21px;width:28px;height:2px;border-radius:2px;background:#000;transform:rotate(45deg)}
.menu__close span+span{transform:rotate(-45deg)}
.menu__body{flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(40px,6vw,100px);align-content:center;padding-top:clamp(24px,5vh,60px);padding-bottom:clamp(40px,6vh,80px);border-top:1px solid #d9d9d9}
.menu__links{display:flex;flex-direction:column}
.menu__links a{display:flex;align-items:baseline;gap:clamp(14px,2vw,28px);padding:clamp(6px,1vh,12px) 0;border-bottom:1px solid #d9d9d9;transition:padding .3s,color .3s}
.menu__links a:hover{color:#427469;padding-left:16px}
.menu__num{font-size:22px;font-weight:600;letter-spacing:1px;color:#427469}
.menu__label{font-family:'Italiana',serif;font-size:clamp(40px,7vw,88px);line-height:1.05}
.menu .info{align-self:end}

/* Info blocks */
.info{display:flex;flex-direction:column;gap:6px}
.info__label{display:block;color:#626262;letter-spacing:.5px;text-transform:uppercase;font-weight:500;font-size:22px;margin:0}
.info__text{margin:0 0 24px;font-size:22px;line-height:1.4}
.info__text--lg{font-size:22px}
.info__text:last-child{margin-bottom:0}
.info__row{display:flex;flex-wrap:wrap;gap:24px}

/* Sections */
.section{padding:clamp(80px,9vw,140px) 0}
.section--grey{background:#f7f7f7}
.section--white{background:#fff}
.section--green{background:#427469;color:#fff}
.section--center{display:flex;flex-direction:column;align-items:center}
.section--tight-bottom{padding-bottom:clamp(20px,3vw,40px)}
.section-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px clamp(40px,6vw,100px);align-items:end;margin-bottom:clamp(40px,5vw,70px)}
.section-intro{display:flex;flex-direction:column;align-items:center;text-align:center}
.section-intro p{max-width:700px;margin:40px 0 0;font-size:22px}

.grid{display:grid;gap:clamp(20px,2.4vw,32px)}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:30px}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(20px,3vw,40px)}
.grid--4{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.grid--projects{margin-top:60px;grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr));gap:clamp(60px,8vw,120px) clamp(40px,6vw,100px)}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:clamp(40px,6vw,100px)}
.split--center{align-items:center}

/* Media */
.media{position:relative;width:100%;border-radius:16px;overflow:hidden;background:#e4e4e4}
.media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.media--about{height:clamp(420px,50vw,700px)}
.media--about img{object-position:50% 20%}
.media--project{height:clamp(320px,36vw,500px)}
.media--space{aspect-ratio:4/5;border-radius:0}
.media--contact{min-height:clamp(300px,50vw,520px)}
.media--notfound{aspect-ratio:4/5;max-height:640px}

/* Hero */
.hero{position:relative;min-height:95vh;margin:90px clamp(12px,3vw,40px) 40px;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:clamp(60px,9vw,140px);overflow:hidden;color:#fff;background:#1a1a1a;border-radius:24px}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.35) 60%,rgba(0,0,0,.2) 100%)}
.hero__content{position:relative;z-index:2}
.hero__title{font-family:'Italiana',serif;font-weight:400;font-size:clamp(46px,6vw,80px);line-height:1.1;margin:0 0 20px;text-wrap:balance}
.hero__text{max-width:585px;margin:0;font-size:22px;font-weight:300;line-height:1.3}

/* About */
.about__text{max-width:560px}
.about__text .h2{margin-bottom:36px}
.about__text .lead{margin-bottom:24px;line-height:1.5}
.signature{font-family:'Italiana',serif;font-size:30px;line-height:1}
.signature__role{color:#626262;font-size:22px;margin-top:6px}

/* Approach */
.principle{display:flex;flex-direction:column;gap:18px;padding:clamp(28px,3vw,44px);background:#f7f7f7;border-radius:20px;min-height:340px}
.principle__top{display:flex;justify-content:space-between;align-items:center}
.principle__num{font-family:'Italiana',serif;font-size:44px;line-height:1;color:#c8c8c8}
.principle p{margin:0;font-size:22px;line-height:1.55;color:#333}
.icon{width:44px;height:44px;color:#427469;flex:none}
.icon--arrow{width:18px;height:18px}

/* Services */
.service-card{background:#f7f7f7;border-radius:16px;padding:40px 35px;display:flex;flex-direction:column;min-height:300px;transition:background .3s}
.service-card:hover{color:#000;background:#f0f0f0}
.service-card .icon{margin-bottom:15px}
.service-card p{margin:20px 0 0;font-size:22px;line-height:1.5}
.arrow-link{margin-top:60px;display:inline-flex;align-items:center;gap:10px;color:#427469;font-size:22px;font-weight:700;text-transform:uppercase;transition:gap .3s}
.arrow-link:hover{gap:18px}
.arrow-link .icon{color:currentColor}
.arrow-link--left{margin-top:0}

/* Projects */
.project__title{font-family:'Italiana',serif;font-weight:400;font-size:clamp(36px,3.4vw,50px);line-height:1;margin:40px 0 0}

/* Process */
.process{padding-top:clamp(60px,8vw,140px);padding-bottom:100px}
.process__inner{display:flex;flex-wrap:wrap;gap:40px}
.process__left{flex:1 1 380px;padding-top:40px}
.process__sticky{position:sticky;top:22%}
.process__sticky .h2{margin-bottom:30px}
.process__sticky .lead{margin-bottom:30px;letter-spacing:-.02em;line-height:1.5}
.process__steps{flex:1 1 460px;display:flex;flex-direction:column}
.step{position:sticky;min-height:360px;background:#f7f7f7;border:4px solid #fff;border-radius:20px;margin-bottom:80px;padding:clamp(32px,4vw,48px) clamp(24px,4vw,50px) clamp(36px,4vw,56px);display:flex;flex-direction:column;justify-content:center}
.step:last-child{margin-bottom:0}
.step:nth-child(1){top:18%}.step:nth-child(2){top:21%}.step:nth-child(3){top:24%}
.step:nth-child(4){top:27%}.step:nth-child(5){top:30%}.step:nth-child(6){top:33%}
.step__num{font-family:'Italiana',serif;font-size:44px;line-height:1;color:#427469}
.step__title{font-family:'Italiana',serif;font-weight:400;font-size:clamp(30px,3vw,38px);line-height:1.2;margin:20px 0}
.step p{margin:0;font-size:22px;line-height:1.5}

/* Spaces */
.space-card{background:#fff;display:flex;flex-direction:column;border-radius:16px;overflow:hidden}
.badge{position:absolute;top:16px;left:16px;background:#427469;color:#fff;font-size:22px;font-weight:600;letter-spacing:1px;padding:4px 12px;border-radius:999px}
.space-card__body{padding:28px 26px 32px;display:flex;flex-direction:column;gap:12px;flex:1}
.space-card__body p{margin:0;font-size:22px;line-height:1.5;color:#333}
.space-card__list{margin-top:auto;padding-top:18px;border-top:1px solid #dfdfdf;display:flex;flex-direction:column;gap:6px}
.space-card__list .info__label{font-size:22px}
.dot-item{display:flex;align-items:center;gap:10px;font-size:22px}
.dot-item::before{content:"";width:7px;height:7px;border-radius:50%;background:#427469;flex:none}

/* Testimonials */
.testimonials{max-width:1100px;display:flex;flex-direction:column;align-items:center;text-align:center}
.testimonials .h2{max-width:700px;margin-bottom:60px;color:#fff}
.testimonials__list{display:flex;flex-direction:column;gap:50px}
.testimonials blockquote{margin:0;font-size:clamp(22px,2.2vw,28px);line-height:1.4}
.section--green{padding-top:100px}

/* Page hero */
.page-hero{background:#fff;padding:clamp(80px,9vw,140px) 0 clamp(60px,7vw,100px)}
.page-hero__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:50px;align-items:end}
.page-hero .lead{max-width:460px;line-height:1.3}

/* Forms */
.form-wrap{min-width:0}
.form{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:16px;align-content:start}
.form__full{grid-column:1/-1}
.field{display:block;min-width:0}
.field input,.field select,.field textarea{width:100%;min-width:0;height:56px;border:1px solid #dfdfdf;border-radius:12px;background:#fff;padding:0 18px;font-family:inherit;font-size:22px;color:#000;transition:border-color .2s;-webkit-appearance:none;appearance:none}
.field select{padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M48 96l80 80 80-80' fill='none' stroke='%23427469' stroke-width='20' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:16px}
.field textarea{height:auto;min-height:160px;padding:14px 18px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#427469}
.form-error{margin:0;color:#a3322a;font-size:22px}
.form-success{display:flex;flex-direction:column;justify-content:center;background:#fff;border-radius:16px;padding:50px;min-height:100%}
.form-success p{margin:0 0 30px;font-size:22px}
.text-btn{align-self:flex-start;background:none;border:0;padding:0;cursor:pointer;color:#427469;font-size:22px;font-weight:700;text-transform:uppercase}
.btn{height:56px;padding:0 40px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#427469;color:#fff;font-family:inherit;font-size:22px;font-weight:600;letter-spacing:1px;text-transform:uppercase;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.btn:hover{background:#335b52;color:#fff}
.btn:disabled{opacity:.6;cursor:wait}
.btn--outline{background:transparent;color:#000;border:1px solid #000}
.btn--outline:hover{background:transparent;border-color:#427469;color:#427469}
.btn-row{display:flex;flex-wrap:wrap;gap:16px}
.form__submit{grid-column:1/-1;justify-self:start}

/* Legal */
.legal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:50px}
.legal-intro{max-width:420px}
.legal{grid-column:1/-1;max-width:820px;display:flex;flex-direction:column;gap:48px;font-size:22px;line-height:1.65}
.legal h2{font-family:'Italiana',serif;font-weight:400;font-size:36px;line-height:1.1;margin:0 0 16px}
.legal p{margin:0 0 12px}
.legal p:last-child{margin-bottom:0}
.legal strong{font-weight:600}
.legal a{color:#427469;font-weight:600}

/* 404 */
.notfound{min-height:calc(100vh - 170px);display:flex;align-items:center}
.notfound__text{display:flex;flex-direction:column;align-items:flex-start}
.notfound__code{font-family:'Italiana',serif;font-size:clamp(120px,18vw,240px);line-height:.85;color:#427469}
.notfound .lead{margin-bottom:40px;max-width:460px}

/* Footer */
.footer{background:#f7f7f7;padding:36px 0}
.page-contact .footer,.page-privacy .footer,.page-terms .footer,.page-404 .footer{background:#fff}
.footer__inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:22px}
.footer__links{display:flex;gap:30px}
.footer__links a.is-active{color:#427469}

/* Responsive */
@media (max-width:899px){
  .nav__links{display:none}
  .process__sticky{position:static}
  .step{position:relative;top:auto!important;min-height:0;margin-bottom:24px}
}
@media (max-width:600px){
  body{font-size:22px}
  .lead,.hero__text{font-size:22px}
  .hero{min-height:85vh;min-height:85svh;margin-top:84px}
  .service-card{padding:30px 24px;min-height:0}
  .principle{min-height:0}
  .form-success{padding:32px 24px}
  .btn{width:100%}
  .form__submit{justify-self:stretch}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}
